diff options
author | Andrii Nakryiko <[email protected]> | 2021-01-08 11:44:08 -0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2021-01-08 14:06:03 -0800 |
commit | e22d7f05e445165e58feddb4e40cc9c0f94453bc (patch) | |
tree | 44c46af75ccfcbb3f2b5e82628ab2840f61e65d9 /tools/perf/scripts/python/flamegraph.py | |
parent | 9a8120a8d7eb872da43e61d598c226f0d6b7ce5f (diff) |
libbpf: Clarify kernel type use with USER variants of CORE reading macros
Add comments clarifying that USER variants of CO-RE reading macro are still
only going to work with kernel types, defined in kernel or kernel module BTF.
This should help preventing invalid use of those macro to read user-defined
types (which doesn't work with CO-RE).
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions