Add function instrumentation type accessors to function location type
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 28 Aug 2018 23:05:25 +0000 (19:05 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 28 Aug 2018 23:05:25 +0000 (19:05 -0400)
commit9d3981b5c746b87954c46218b2c7c6e76ae7ed46
tree629abdfeecaa7157aeefe0e70bda048f58a17d7e
parentbff8d2177c7184a2ce763aac4b015f8ef91ce11e
Add function instrumentation type accessors to function location type

Since the uprobe instrumentation is currently limited to function
entries, and since support for the instrumentation function return
is planned to be introduced at some point, it makes sense
to introduce an "instrumentation type" attribute on function
locations.

Currently, the only available instrumentation type is
"entry", which matches what is supported by the kernel tracer as of
2.11.

In the future, a RETURN and ENTRY_RETURN/BOTH instrumentation type
could be added without changing the default behavior of rules
such a userspace probe.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
include/lttng/userspace-probe-internal.h
include/lttng/userspace-probe.h
src/common/userspace-probe.c
This page took 0.025641 seconds and 4 git commands to generate.