projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tracepoint.c: Move add_callsite/remove_callsite further down in file
[lttng-ust.git]
/
liblttng-ust-cyg-profile
/
lttng-ust-cyg-profile.h
diff --git
a/liblttng-ust-cyg-profile/lttng-ust-cyg-profile.h
b/liblttng-ust-cyg-profile/lttng-ust-cyg-profile.h
index 48a7c73574b1ebcfb918d731e16ce8aa2471691b..4316292548e17cfae9bf8c8cd9d80b5a4824de68 100644
(file)
--- a/
liblttng-ust-cyg-profile/lttng-ust-cyg-profile.h
+++ b/
liblttng-ust-cyg-profile/lttng-ust-cyg-profile.h
@@
-33,9
+33,12
@@
extern "C" {
#include <lttng/tracepoint.h>
TRACEPOINT_EVENT(lttng_ust_cyg_profile, func_entry,
#include <lttng/tracepoint.h>
TRACEPOINT_EVENT(lttng_ust_cyg_profile, func_entry,
- TP_ARGS(void *, func_addr),
+ TP_ARGS(void *, func_addr
, void *, call_site
),
TP_FIELDS(
TP_FIELDS(
- ctf_integer_hex(void *, addr, func_addr)
+ ctf_integer_hex(unsigned long, addr,
+ (unsigned long) func_addr)
+ ctf_integer_hex(unsigned long, call_site,
+ (unsigned long) call_site)
)
)
)
)
@@
-43,8
+46,13
@@
TRACEPOINT_LOGLEVEL(lttng_ust_cyg_profile, func_entry,
TRACE_DEBUG_FUNCTION)
TRACEPOINT_EVENT(lttng_ust_cyg_profile, func_exit,
TRACE_DEBUG_FUNCTION)
TRACEPOINT_EVENT(lttng_ust_cyg_profile, func_exit,
- TP_ARGS(void),
- TP_FIELDS()
+ TP_ARGS(void *, func_addr, void *, call_site),
+ TP_FIELDS(
+ ctf_integer_hex(unsigned long, addr,
+ (unsigned long) func_addr)
+ ctf_integer_hex(unsigned long, call_site,
+ (unsigned long) call_site)
+ )
)
TRACEPOINT_LOGLEVEL(lttng_ust_cyg_profile, func_exit,
)
TRACEPOINT_LOGLEVEL(lttng_ust_cyg_profile, func_exit,
This page took
0.023557 seconds
and
4
git commands to generate.