diff options
author | Kumar Kartikeya Dwivedi <[email protected]> | 2022-07-22 13:36:05 +0200 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2022-07-22 09:07:07 -0700 |
commit | e423414375866a399ebbe55ed044acb39846e8bf (patch) | |
tree | 31ab940b2ad0b697a66873aa577e6c83f0aa2219 /tools/perf/scripts/python/intel-pt-events.py | |
parent | ac7ac432a67eb5410be32a3bef0fb393058af537 (diff) |
bpf: Fix build error in case of !CONFIG_DEBUG_INFO_BTF
BTF_ID_FLAGS macro needs to be able to take 0 or 1 args, so make it a
variable argument. BTF_SET8_END is incorrect, it should just be empty.
Reported-by: kernel test robot <[email protected]>
Fixes: ab21d6063c01 ("bpf: Introduce 8-byte BTF set")
Signed-off-by: Kumar Kartikeya Dwivedi <[email protected]>
Acked-by: Jiri Olsa <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions