diff options
author | Jin Yao <yao.jin@linux.intel.com> | 2021-04-27 10:01:17 +0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2021-04-29 16:30:59 +0300 |
commit | 32705de7d45d0ed989517a63454c2b3e5e5ea267 (patch) | |
tree | e003484c0c31ab6024af3095f5797cfe5719be95 /fs/fs_struct.c | |
parent | eab35953e67b48c763fbb0e0ffc64dd3152361ea (diff) | |
download | linux-32705de7d45d0ed989517a63454c2b3e5e5ea267.tar.xz |
perf pmu: Save pmu name
On hybrid platform, one event is available on one pmu
(such as, available on cpu_core or on cpu_atom).
This patch saves the pmu name to the pmu field of struct perf_pmu_alias.
Then next we can know the pmu which the event can be enabled on.
Signed-off-by: Jin Yao <yao.jin@linux.intel.com>
Reviewed-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Kan Liang <kan.liang@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20210427070139.25256-5-yao.jin@linux.intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'fs/fs_struct.c')
0 files changed, 0 insertions, 0 deletions