diff options
author | Song Liu <[email protected]> | 2021-12-03 15:14:41 -0800 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-12-06 21:57:53 -0300 |
commit | 5a897531e00243cebbcc4dbe4ab06cd559ccf53f (patch) | |
tree | c8b3cf1b79a2934f87a585be0400bd6ed79838d1 /scripts/gdb/linux/proc.py | |
parent | f7c4e85bccea960203e5872553957511df86913e (diff) |
perf bpf_skel: Do not use typedef to avoid error on old clang
When building bpf_skel with clang-10, typedef causes confusions like:
libbpf: map 'prev_readings': unexpected def kind var.
Fix this by removing the typedef.
Fixes: 7fac83aaf2eecc9e ("perf stat: Introduce 'bperf' to share hardware PMCs with BPF")
Reported-by: Arnaldo Carvalho de Melo <[email protected]>
Signed-off-by: Song Liu <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Link: http://lore.kernel.org/lkml/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions