aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/c++/clang.cpp
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2023-08-10 18:09:44 +0000
committerArnaldo Carvalho de Melo <[email protected]>2023-08-11 18:15:00 +0000
commit33d9c5062113a4bd9c5f7414fdeccea3c58e6809 (patch)
tree1196f9d93b15faea5575e1d66a837016a5fe6d13 /tools/perf/util/c++/clang.cpp
parentperf symbols: Fix DSO kernel load and symbol process to correctly map DSO to ... (diff)
downloadkernel-33d9c5062113a4bd9c5f7414fdeccea3c58e6809.tar.gz
kernel-33d9c5062113a4bd9c5f7414fdeccea3c58e6809.zip
perf script python: Add stub for PMU symbol to the python binding
Fix missing symbol seen in: ``` 19: 'import perf' in python : --- start --- test child forked, pid 2640936 python usage test: "echo "import sys ; sys.path.insert(0, 'python'); import perf" | '/usr/bin/python3' " Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: tools/perf/python/perf.cpython-311-x86_64-linux-gnu.so: undefined symbol: perf_pmus__supports_extended_type test child finished with -1 ---- end ---- 'import perf' in python: FAILED! ``` Signed-off-by: Ian Rogers <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: James Clark <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Kan Liang <[email protected]> Cc: Leo Yan <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Yang Jihong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions