aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorAndrii Nakryiko <[email protected]>2021-06-28 19:41:34 -0700
committerLinus Torvalds <[email protected]>2021-06-29 10:53:54 -0700
commita0b8200d06ad6450c179407baa5f0f52f8cfcc97 (patch)
treea9d75ffcd32c3899787ce5753a22e06d8f4e6b40 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent9660ecaa79ce5c068aa3138ca7e29a9402f284ed (diff)
kbuild: skip per-CPU BTF generation for pahole v1.18-v1.21
Commit "mm/page_alloc: convert per-cpu list protection to local_lock" will introduce a zero-sized per-CPU variable, which causes pahole to generate invalid BTF. Only pahole versions 1.18 through 1.21 are impacted, as before 1.18 pahole doesn't know anything about per-CPU variables, and 1.22 contains the proper fix for the issue. Luckily, pahole 1.18 got --skip_encoding_btf_vars option disabling BTF generation for per-CPU variables in anticipation of some unanticipated problems. So use this escape hatch to disable per-CPU var BTF info on those problematic pahole versions. Users relying on availability of per-CPU var BTFs would need to upgrade to pahole 1.22+, but everyone won't notice any regressions. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Andrii Nakryiko <[email protected]> Acked-by: Mel Gorman <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Hao Luo <[email protected]> Cc: Michal Suchanek <[email protected]> Cc: Jiri Olsa <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions