summaryrefslogtreecommitdiffstats
path: root/src/tracing/cyg_profile.tp
blob: 42d9b4c92ce1e1ee2fa1bc04cfd99f470f3b97f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "include/int_types.h"

TRACEPOINT_EVENT(lttng_ust_cyg_profile, func_entry,
    TP_ARGS(
        void *,  func_addr,
        void *,  call_site),
    TP_FIELDS(
          ctf_integer_hex(unsigned long, addr, func_addr)
          ctf_integer_hex(unsigned long, call_site, call_site)
    )
)

TRACEPOINT_EVENT(lttng_ust_cyg_profile, func_exit,
    TP_ARGS(
          void *,  func_addr,
          void *,  call_site
    ),
    TP_FIELDS(
          ctf_integer_hex(unsigned long, addr, func_addr)
          ctf_integer_hex(unsigned long, call_site, call_site)
    )
)