diff options
author | Hou Tao <[email protected]> | 2021-10-04 17:48:55 +0800 |
---|---|---|
committer | Andrii Nakryiko <[email protected]> | 2021-10-08 13:22:57 -0700 |
commit | 65223741ae1b759a14cab84ba88888bb025f816d (patch) | |
tree | b1414ab5924b46bd658b8da7df05975f98365165 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 1c8dab7da1d27a474721a789777af82edf2085c1 (diff) |
bpf: Support writable context for bare tracepoint
Commit 9df1c28bb752 ("bpf: add writable context for raw tracepoints")
supports writable context for tracepoint, but it misses the support
for bare tracepoint which has no associated trace event.
Bare tracepoint is defined by DECLARE_TRACE(), so adding a corresponding
DECLARE_TRACE_WRITABLE() macro to generate a definition in __bpf_raw_tp_map
section for bare tracepoint in a similar way to DEFINE_TRACE_WRITABLE().
Signed-off-by: Hou Tao <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions