Fix session syscall listing
authorDavid Goulet <dgoulet@efficios.com>
Tue, 7 Feb 2012 21:44:30 +0000 (16:44 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 7 Feb 2012 21:44:30 +0000 (16:44 -0500)
commit2c425ff76ee434cf386fd7ee40a727480be95dff
tree0ed6f483b955f391508e75013176cafc20a5a25f
parent0c95f5b2ec754e905a0263cafc6e453f451d0ded
Fix session syscall listing

This problem occured because the "syscall" event was not added to the
event list since his kernel FD is not valid (fd=0). However, this fd is
only usefull if we want to add context or disable events. Those two
operations are not supported for now.

So, we can safely add the event to the list and add a hardcoded name in
the lttng cli list command.

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/kernel.c
src/bin/lttng/commands/list.c
This page took 0.025624 seconds and 4 git commands to generate.