X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fsyscall.c;h=7b9227b86912f8a80628167fdc2908df2eb6ccf4;hb=6b10b3b01eb754c0c3149490f700763dbac60ed5;hp=1fc68d2ca5d73319ebddb7f395106b2fc083ad57;hpb=97282ce239fc58713ab3d48f8a86e33363d9e8d8;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/syscall.c b/src/bin/lttng-sessiond/syscall.c index 1fc68d2ca..7b9227b86 100644 --- a/src/bin/lttng-sessiond/syscall.c +++ b/src/bin/lttng-sessiond/syscall.c @@ -15,7 +15,6 @@ * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#define _GNU_SOURCE #define _LGPL_SOURCE #include #include @@ -424,7 +423,7 @@ ssize_t syscall_list_channel(struct ltt_kernel_channel *kchan, 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++; }