diff options
author | Ian Rogers <irogers@google.com> | 2023-06-27 11:28:34 -0700 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2023-06-27 23:38:39 -0700 |
commit | 628eaa4e877af8230ef7326d378e15d511c506ba (patch) | |
tree | e2fb65c08dcc3f0ae94370e41dc672cc0f1d2ee3 /tools/include/nolibc/std.h | |
parent | ad5f604e186ac08d12c401e34ea96c09c38ddbc5 (diff) | |
download | linux-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