summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/rlimit.c
diff options
context:
space:
mode:
authorJohn Garry <john.garry@huawei.com>2021-07-29 21:56:21 +0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2021-08-10 14:44:00 -0300
commit5806099a2e2ab36fa7a7705faaf3d7296b701e67 (patch)
tree797898bb80bf0c6fe2a2becaad49eda4c059bf39 /tools/perf/util/rlimit.c
parent3bc4526b30f14b70280ec2a7a02fbfdab2ebdb0a (diff)
downloadlinux-5806099a2e2ab36fa7a7705faaf3d7296b701e67.tar.gz
linux-5806099a2e2ab36fa7a7705faaf3d7296b701e67.tar.bz2
linux-5806099a2e2ab36fa7a7705faaf3d7296b701e67.zip
perf pmu: Check .is_uncore field in pmu_add_cpu_aliases_map()
Calling pmu_is_uncore() for fake PMUs does not work, as it checks sysfs for the PMU details (which won't exist). Check .is_uncore field instead, which makes sense anyway. Signed-off-by: John Garry <john.garry@huawei.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Ian Rogers <irogers@google.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jin Yao <yao.jin@linux.intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: linuxarm@huawei.com Link: https //lore.kernel.org/r/1627566986-30605-7-git-send-email-john.garry@huawei.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/rlimit.c')
0 files changed, 0 insertions, 0 deletions