* Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#define _GNU_SOURCE
#define _LGPL_SOURCE
#include <common/bitfield.h>
#include <common/common.h>
}
while (fscanf(fp,
- "syscall { index = %lu; \
+ "syscall { index = %zu; \
name = %" XSTR(SYSCALL_NAME_LEN) "[^;]; \
bitness = %u; };\n",
&index, name, &bitness) == 3) {
strncpy(events[count].name, syscall_table[i].name,
sizeof(events[count].name));
events[count].enabled = 1;
- events[count].type = LTTNG_KERNEL_SYSCALL;
+ events[count].type = LTTNG_EVENT_SYSCALL;
count++;
}