diff options
author | Alexei Starovoitov <ast@kernel.org> | 2024-09-05 17:02:03 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2024-09-05 17:02:03 -0700 |
commit | 04bb60d0dfd13ac51c0294ea1c3b78a783b7d22d (patch) | |
tree | 5716e53f2fb5885c4018c21a809abe5188dd5b88 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 2db2b8cb8f96bb1def9904abbc859d95e3fbf99c (diff) | |
parent | 1b3bc648f5067d32959d7389a7c17c8c04e8e689 (diff) |
Merge branch 'allow-kfuncs-in-tracepoint-and-perf-event'
JP Kobryn says:
====================
allow kfuncs in tracepoint and perf event
It is possible to call a cpumask kfunc within a raw tp_btf program but not
possible within tracepoint or perf event programs. Currently, the verifier
receives -EACCESS from fetch_kfunc_meta() as a result of not finding any
kfunc hook associated with these program types.
This patch series associates tracepoint and perf event program types with
the tracing hook and includes test coverage.
Pre-submission CI run: https://github.com/kernel-patches/bpf/pull/7674
v3:
- map tracepoint and perf event progs to tracing kfunc hook
- expand existing verifier tests for kfuncs
- remove explicit registrations from v2
- no longer including kprobes
v2:
- create new kfunc hooks for tracepoint and perf event
- map tracepoint, and perf event prog types to kfunc hooks
- register cpumask kfuncs with prog types in focus
- expand existing verifier tests for cpumask kfuncs
v1:
- map tracepoint type progs to tracing kfunc hook
- new selftests for calling cpumask kfuncs in tracepoint prog
---
====================
Link: https://lore.kernel.org/r/20240905223812.141857-1-inwardvessel@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions