diff options
| author | Song Liu <[email protected]> | 2021-12-03 23:14:41 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-12-07 00:57:53 +0000 |
| commit | 5a897531e00243cebbcc4dbe4ab06cd559ccf53f (patch) | |
| tree | c8b3cf1b79a2934f87a585be0400bd6ed79838d1 /fs/fs-writeback.c | |
| parent | perf bpf: Fix building perf with BUILD_BPF_SKEL=1 by default in more distros (diff) | |
| download | kernel-5a897531e00243cebbcc4dbe4ab06cd559ccf53f.tar.gz kernel-5a897531e00243cebbcc4dbe4ab06cd559ccf53f.zip | |
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 'fs/fs-writeback.c')
0 files changed, 0 insertions, 0 deletions
