summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2025-12-02 20:49:56 +0300
committerNamhyung Kim <namhyung@kernel.org>2025-12-03 03:12:49 +0300
commit6603c3c1fe8257e522496da7fd7b75ac52c2323f (patch)
tree8437f3b7dd9c26dfa95d7146206b588b4adf795a /tools/lib/python
parentc9cd0c7e529e80e9be79867d2ebb874f67dbc35e (diff)
downloadlinux-6603c3c1fe8257e522496da7fd7b75ac52c2323f.tar.xz
perf python: Correct copying of metric_leader in an evsel
Ensure the metric_leader is copied and set up correctly. In compute_metric determine the correct metric_leader event to match the requested CPU. Fixes the handling of metrics particularly on hybrid machines. Signed-off-by: Ian Rogers <irogers@google.com> Tested-by: Thomas Falcon <thomas.falcon@intel.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions