]> git.baikalelectronics.ru Git - kernel.git/commit
perf metricgroup: Pass pmu_event structure as a parameter for arch_get_runtimeparam()
authorKajol Jain <kjain@linux.ibm.com>
Mon, 7 Sep 2020 06:41:32 +0000 (12:11 +0530)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 10 Sep 2020 12:18:59 +0000 (09:18 -0300)
commitcba1e5a8d5f67cf6c6e5b3728e54578460794c81
tree2de9aad37bafd84966e12bf147716441d4d5d89e
parent2b6740279bca5d0d0681d027d6e4caf4cfc2dd23
perf metricgroup: Pass pmu_event structure as a parameter for arch_get_runtimeparam()

This patch adds passing of  pmu_event as a parameter in function
'arch_get_runtimeparam' which can be used to get details like if the
event is percore/perchip.

Signed-off-by: Kajol Jain <kjain@linux.ibm.com>
Acked-by: Ian Rogers <irogers@google.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jin Yao <yao.jin@linux.intel.com>
Cc: John Garry <john.garry@huawei.com>
Cc: Madhavan Srinivasan <maddy@linux.ibm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Clarke <pc@us.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
Link: http://lore.kernel.org/lkml/20200907064133.75090-5-kjain@linux.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/arch/powerpc/util/header.c
tools/perf/util/metricgroup.c
tools/perf/util/metricgroup.h