summaryrefslogtreecommitdiffstats
path: root/tools/include/nolibc/std.h
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2023-06-27 11:28:34 -0700
committerNamhyung Kim <namhyung@kernel.org>2023-06-27 23:38:39 -0700
commit628eaa4e877af8230ef7326d378e15d511c506ba (patch)
treee2fb65c08dcc3f0ae94370e41dc672cc0f1d2ee3 /tools/include/nolibc/std.h
parentad5f604e186ac08d12c401e34ea96c09c38ddbc5 (diff)
downloadlinux-628eaa4e877af8230ef7326d378e15d511c506ba.tar.gz
linux-628eaa4e877af8230ef7326d378e15d511c506ba.tar.bz2
linux-628eaa4e877af8230ef7326d378e15d511c506ba.zip
perf pmus: Add placeholder core PMU
If loading a core PMU fails, legacy hardware/cache events may segv due to there being no PMU. Create a placeholder empty PMU for this case. This was discussed in: https://lore.kernel.org/lkml/20230614151625.2077-1-yangjihong1@huawei.com/ Reported-by: Yang Jihong <yangjihong1@huawei.com> Tested-by: Yang Jihong <yangjihong1@huawei.com> Signed-off-by: Ian Rogers <irogers@google.com> Cc: Ravi Bangoria <ravi.bangoria@amd.com> Cc: James Clark <james.clark@arm.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Suzuki Poulouse <suzuki.poulose@arm.com> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Arnaldo Carvalho de Melo <acme@kernel.org> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Rob Herring <robh@kernel.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Kan Liang <kan.liang@linux.intel.com> Cc: Ingo Molnar <mingo@redhat.com> Link: https://lore.kernel.org/r/20230627182834.117565-1-irogers@google.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/include/nolibc/std.h')
0 files changed, 0 insertions, 0 deletions