From: Mathieu Desnoyers Date: Fri, 12 Sep 2014 19:25:38 +0000 (-0400) Subject: syscall listing: show syscall ID X-Git-Tag: v2.6.0-rc1~30 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=9f5226f045c2dbf0f885692ddf455ff1ee673772;p=lttng-modules.git syscall listing: show syscall ID Signed-off-by: Mathieu Desnoyers --- diff --git a/lttng-syscalls.c b/lttng-syscalls.c index 25b8431a..0a8074f8 100644 --- a/lttng-syscalls.c +++ b/lttng-syscalls.c @@ -1127,7 +1127,8 @@ int syscall_list_show(struct seq_file *m, void *p) WARN_ON_ONCE(!(entry >= compat_sc_table && entry < compat_sc_table + ARRAY_SIZE(compat_sc_table))); } - seq_printf(m, "syscall { name = %s; bitness = %u; };\n", + seq_printf(m, "syscall { id = %u; name = %s; bitness = %u; };\n", + entry - table, entry->desc->name, bitness); return 0;