Introduce emission site for syscall event rule
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Fri, 16 Apr 2021 21:24:20 +0000 (17:24 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 22 Apr 2021 05:42:49 +0000 (01:42 -0400)
commit57739a6b3247c7ded74522906e214eff0d6dc14c
tree9fd35b6b1bc8acdfbb3ef01b09a840f3473d1cb4
parent19904669a9eb25cd4a0ccd3de82d3ac803dfe877
Introduce emission site for syscall event rule

The tracer support multiple emission site configuration: entry, exit,
both.

On the CLI, the emission site is exposed directly on the event rule type
with the following syntax:

 --type=syscall:entry
 --type=syscall:exit
 --type=syscall:entry+exit

`--type=syscall` is equivalent to `--type=syscall:entry+exit`.

Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I65faea6872f121b98b781d931b6cc7301f20a0b6
include/lttng/event-rule/syscall-internal.h
include/lttng/event-rule/syscall.h
src/bin/lttng-sessiond/trace-kernel.c
src/bin/lttng/commands/add_trigger.c
src/bin/lttng/commands/list_triggers.c
src/common/event-rule/syscall.c
tests/regression/tools/notification/notification.c
tests/regression/tools/trigger/test_add_trigger_cli
tests/regression/tools/trigger/test_list_triggers_cli
tests/unit/test_event_rule.c
This page took 0.026086 seconds and 4 git commands to generate.