syscall listing: show syscall ID
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 12 Sep 2014 19:25:38 +0000 (15:25 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 26 Sep 2014 16:10:00 +0000 (12:10 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttng-syscalls.c

index 25b8431a7c1ed3fa64141959ac2f015ba56a8879..0a8074f805ea2efd8e826be92c5d9fee3eac3534 100644 (file)
@@ -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;
This page took 0.026125 seconds and 4 git commands to generate.