ion_call()")
Signed-off-by: Kajol Jain
Reported-by: Srikar Dronamraju
---
kernel/events/core.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Changelog:
- Remove addition of else in the first patch for
if(ret != -EAGAIN) condition.
diff --git a/kernel/events/core.c b/kernel/even
ion_call()")
Signed-off-by: Kajol Jain
Reported-by: Srikar Dronamraju
Reviewed-by: Barret Rhoden
Tested-by: Srikar Dronamraju
---
kernel/events/core.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
Changelog:
- Remove RFC tag
- Resolve some nits issues like space after if and
these terms.
Now, if user wants to add any new term, they just need to add it in
the enum defined.
Signed-off-by: Kajol Jain
---
tools/perf/pmu-events/jevents.c| 16
tools/perf/pmu-events/pmu-events.h | 6 ++
2 files changed, 22 insertions(+)
diff --git a/tools/perf/pmu
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
Acked-by: Ian Rogers
---
tools/perf/arch/powerpc/util/header.c | 7 +--
tools/perf/util/metricgroup.c
2.0002538812.01.9
3.0003648102.02.0
Signed-off-by: Kajol Jain
Acked-by: Ian Rogers
---
.../arch/powerpc/power9/nest_metrics.json | 35 ---
1 file changed, 22 insertions(+), 13
.
With this change, we just need to add it in new structure 'json_event'.
Signed-off-by: Kajol Jain
Reviewed-by: Andi Kleen
---
tools/perf/pmu-events/jevents.c | 222 +++-
1 file changed, 105 insertions(+), 117 deletions(-)
diff --git a/tools/perf/pmu-events/jevents.c b
ther metric.
- Make power side changes as per new struture added.
Link to the previous version patchset: https://lkml.org/lkml/2020/8/16/50
Kajol Jain (5):
perf/jevents: Remove jevents.h file
perf/jevents: Add new structure to pass json fields.
perf jevents: Add support for parsing pe
This patch removes jevents.h file and add its data inside
jevents.c as this file is only included there.
Signed-off-by: Kajol Jain
---
tools/perf/pmu-events/jevents.c | 9 -
tools/perf/pmu-events/jevents.h | 23 ---
2 files changed, 8 insertions(+), 24 deletions
:
[command]# ./perf test -F 68
68: PE file support : Failed!
Result in power9 platform after this patch:
[command]# ./perf test -F 68
68: PE file support : Skip
Signed-off-by: Kajol Jain
---
tools/perf/tests/pe-file-parsing.c | 2 +-
1 file
: Ok
10.3: Parsing of PMU event table metrics: Skip
(some metrics failed)
10.4: Parsing of PMU event table metrics with fake PMUs : Ok
Fixes: e1c92a7fbbc5 ("perf tests: Add another metric parsing test")
Signed-off-by: Kajol Jain
---
tool
- Make json_events function static to solve warning part [John Garry].
- Add event attribute in json_events function to remove strcpy from
real_event function, as suggested by Jiri Olsa.
- Add warning while checking aggr_mode value [Jiri Olsa].
Kajol Jain (5):
perf/jevents: Remove jevents.h fi
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
Acked-by: Ian Rogers
---
tools/perf/arch/powerpc/util/header.c | 7 +--
tools/perf/util/metricgroup.c
2.0002538812.01.9
3.0003648102.02.0
Signed-off-by: Kajol Jain
Acked-by: Ian Rogers
---
.../arch/powerpc/power9/nest_metrics.json | 35 ---
1 file changed, 22 insertions(+), 13
.
With this change, we just need to add it in new structure 'json_event'.
Signed-off-by: Kajol Jain
Reviewed-by: Andi Kleen
Reviewed-by: John Garry
---
tools/perf/pmu-events/jevents.c | 212 +++-
1 file changed, 97 insertions(+), 115 deletions(-)
diff --git a/tools/perf/pmu
these terms.
Now, if user wants to add any new term, they just need to add it in
the enum defined.
Signed-off-by: Kajol Jain
---
tools/perf/pmu-events/jevents.c| 19 +++
tools/perf/pmu-events/pmu-events.h | 6 ++
2 files changed, 25 insertions(+)
diff --git a/tools/perf
This patch removes jevents.h file.
Signed-off-by: Kajol Jain
Reviewed-by: John Garry
---
tools/perf/pmu-events/jevents.c | 3 +--
tools/perf/pmu-events/jevents.h | 23 ---
2 files changed, 1 insertion(+), 25 deletions(-)
delete mode 100644 tools/perf/pmu-events/jevents.h
.
With this change, we just need to add it in new structure 'json_event'.
Signed-off-by: Kajol Jain
---
tools/perf/pmu-events/jevents.c | 188 +---
tools/perf/pmu-events/jevents.h | 28 +++--
2 files changed, 94 insertions(+), 122 deletions(-)
This is the initial prototype
ion_call()")
Signed-off-by: Kajol Jain
Reported-by: Srikar Dronamraju
---
kernel/events/core.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/kernel/events/core.c b/kernel/events/core.c
index 5bfe8e3c6e44..330c53f7df9c 100644
--- a/kernel/events/core.c
+++ b/kernel/ev
This patch take advantage of the new capability added to use
computed metrics in calculating other metrics. It also update
metric group for nest events to make it consistent for all nest
memory events.
Signed-off-by: Kajol Jain
---
.../arch/powerpc/power9/nest_metrics.json | 18
tric using other metric.
- Make power side changes as per new struture added.
Link to the previous version patchset: https://lkml.org/lkml/2020/8/27/799
Kajol Jain (5):
perf/jevents: Remove jevents.h file
perf/jevents: Add new structure to pass json fields.
perf jevents: Add support f
.
With this change, we just need to add it in new structure 'json_event'.
Signed-off-by: Kajol Jain
Reviewed-by: Andi Kleen
---
tools/perf/pmu-events/jevents.c | 214 +++-
1 file changed, 98 insertions(+), 116 deletions(-)
diff --git a/tools/perf/pmu-events/jevents.c b/tools
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
Acked-by: Ian Rogers
---
tools/perf/arch/powerpc/util/header.c | 7 +--
tools/perf/util/metricgroup.c
This patch removes jevents.h file.
Signed-off-by: Kajol Jain
---
tools/perf/pmu-events/jevents.c | 1 -
tools/perf/pmu-events/jevents.h | 23 ---
2 files changed, 24 deletions(-)
delete mode 100644 tools/perf/pmu-events/jevents.h
diff --git a/tools/perf/pmu-events
2.0002538812.01.9
3.0003648102.02.0
Signed-off-by: Kajol Jain
Acked-by: Ian Rogers
---
.../arch/powerpc/power9/nest_metrics.json | 35 ---
1 file changed, 22 insertions(+), 13
these terms.
Now, if user wants to add any new term, they just need to add it in
the enum defined.
Signed-off-by: Kajol Jain
---
tools/perf/pmu-events/jevents.c| 19 +++
tools/perf/pmu-events/pmu-events.h | 6 ++
2 files changed, 25 insertions(+)
diff --git a/tools/perf
Remove min and get_cpu_str functions from jevents.c
- Make json_events function static to solve warning part [John Garry].
- Add event attribute in json_events function to remove strcpy from
real_event function, as suggested by Jiri Olsa.
- Add warning while checking aggr_mode value [Jiri Olsa].
K
these terms.
Now, if user wants to add any new term, they just need to add it in
the enum defined.
Signed-off-by: Kajol Jain
---
tools/perf/pmu-events/jevents.c| 20
tools/perf/pmu-events/pmu-events.h | 6 ++
2 files changed, 26 insertions(+)
diff --git a/tools/perf
This patch removes jevents.h and makes json_events function static.
Signed-off-by: Kajol Jain
Reviewed-by: John Garry
---
tools/perf/pmu-events/jevents.c | 3 +--
tools/perf/pmu-events/jevents.h | 23 ---
2 files changed, 1 insertion(+), 25 deletions(-)
delete mode 100644
.
With this change, we just need to add it in new structure 'json_event'.
Signed-off-by: Kajol Jain
Reviewed-by: Andi Kleen
Reviewed-by: John Garry
---
tools/perf/pmu-events/jevents.c | 212 +++-
1 file changed, 97 insertions(+), 115 deletions(-)
diff --git a/tools/perf/pmu
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
Acked-by: Ian Rogers
---
tools/perf/arch/powerpc/util/header.c | 7 +--
tools/perf/util/metricgroup.c
2.0002538812.01.9
3.0003648102.02.0
Signed-off-by: Kajol Jain
Acked-by: Ian Rogers
---
.../arch/powerpc/power9/nest_metrics.json | 35 ---
1 file changed, 22 insertions(+), 13
2.0002538812.01.9
3.0003648102.02.0
Signed-off-by: Kajol Jain
Acked-by: Ian Rogers
---
.../arch/powerpc/power9/nest_metrics.json | 35 ---
1 file changed, 22 insertions(+), 13
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
Acked-by: Ian Rogers
---
tools/perf/arch/powerpc/util/header.c | 7 +--
tools/perf/util/metricgroup.c
e changes on uncore events by removing PerPkg
field from enum "AggregationMode" and other corresponding changes.
Link to previous patchset: https://lkml.org/lkml/2020/7/20/124
Kajol Jain (3):
perf jevents: Add support for parsing perchip/percore events
perf/tools: Pass pmu_even
these terms.
Now, if user wants to add any new term, they just need to add it in
the enum defined.
Signed-off-by: Kajol Jain
Acked-by: Ian Rogers
---
tools/perf/pmu-events/jevents.c| 32 +++---
tools/perf/pmu-events/jevents.h| 2 +-
tools/perf/pmu-events/pmu
Patch adds initial json/events for POWER10.
Signed-off-by: Kajol Jain
Tested-by: Paul A. Clarke
Reviewed-by: Paul A. Clarke
---
.../perf/pmu-events/arch/powerpc/mapfile.csv | 1 +
.../arch/powerpc/power10/cache.json | 47 +++
.../arch/powerpc/power10/floating_point.json | 7
There is a spelling mistake "byes" -> "bytes" in a comment of
function drc_pmem_query_stats(). Fix that typo.
Signed-off-by: Kajol Jain
---
arch/powerpc/platforms/pseries/papr_scm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/powerpc/platform
Patch adds initial json/events for POWER10.
Signed-off-by: Kajol Jain
---
.../perf/pmu-events/arch/powerpc/mapfile.csv | 1 +
.../arch/powerpc/power10/cache.json | 47 +++
.../arch/powerpc/power10/floating_point.json | 7 +
.../arch/powerpc/power10/frontend.json| 217
Tested-by: Nageswara R Sastry
Signed-off-by: Kajol Jain
---
arch/powerpc/include/asm/device.h | 5 +
arch/powerpc/platforms/pseries/papr_scm.c | 365 ++
2 files changed, 370 insertions(+)
diff --git a/arch/powerpc/include/asm/device.h
b/arch/powerpc/include/asm
Details is added for the event, cpumask and format attributes
in the ABI documentation.
Acked-by: Peter Zijlstra (Intel)
Reviewed-by: Madhavan Srinivasan
Tested-by: Nageswara R Sastry
Signed-off-by: Kajol Jain
---
Documentation/ABI/testing/sysfs-bus-papr-pmem | 31 +++
1 file
via pmu.
Acked-by: Peter Zijlstra (Intel)
Reviewed-by: Madhavan Srinivasan
Tested-by: Nageswara R Sastry
Signed-off-by: Kajol Jain
---
drivers/nvdimm/Makefile | 1 +
drivers/nvdimm/nd_perf.c | 230 +++
include/linux/nd.h | 3 +
3 files changed, 234
Srinivasan
Tested-by: Nageswara R Sastry
Signed-off-by: Kajol Jain
---
include/linux/nd.h | 43 +++
1 file changed, 43 insertions(+)
diff --git a/include/linux/nd.h b/include/linux/nd.h
index ee9ad76afbba..712499cf7335 100644
--- a/include/linux/nd.h
g offline
function.
- Link to the patchset v1: https://lkml.org/lkml/2021/6/8/500
Kajol Jain (4):
drivers/nvdimm: Add nvdimm pmu structure
drivers/nvdimm: Add perf interface to expose nvdimm performance stats
powerpc/papr_scm: Add perf interface support
powerpc/papr_scm: Document papr_scm sy
Details are added for the event, cpumask and format attributes
in the ABI documentation.
Signed-off-by: Kajol Jain
---
Documentation/ABI/testing/sysfs-bus-nvdimm | 35 ++
1 file changed, 35 insertions(+)
diff --git a/Documentation/ABI/testing/sysfs-bus-nvdimm
b
PMU event]
nmem0/poweron_secs/[Kernel PMU event]
...
nmem1/mem_life/[Kernel PMU event]
nmem1/poweron_secs/[Kernel PMU event]
Signed-off-by: Kajol Jain
---
arch/powerpc/include/asm/device.h
functions,
cpu hotplug feature along with macros for handling events addition
via sysfs. It adds attribute groups for format, cpumask and events
to the pmu structure.
User could use the standard perf tool to access perf events exposed
via nvdimm pmu.
Signed-off-by: Kajol Jain
[Make hotplug
A structure is added called nvdimm_pmu, for performance
stats reporting support of nvdimm devices. It can be used to add
device pmu data such as pmu data structure for performance
stats, nvdimm device pointer along with cpumask attributes.
Signed-off-by: Kajol Jain
---
include/linux/nd.h | 20
case current designated cpu got offline. As
pointed by Peter Zijlstra.
- Removed the retun -1 part from cpu hotplug offline
function.
- Link to the patchset v1: https://lkml.org/lkml/2021/6/8/500
Kajol Jain (4):
drivers/nvdimm: Add nvdimm pmu structure
drivers/nvdimm: Add perf interface to e
Details are added for the event, cpumask and format attributes
in the ABI documentation.
Signed-off-by: Kajol Jain
---
Documentation/ABI/testing/sysfs-bus-nvdimm | 35 ++
1 file changed, 35 insertions(+)
diff --git a/Documentation/ABI/testing/sysfs-bus-nvdimm
b
PMU event]
nmem0/poweron_secs/[Kernel PMU event]
...
nmem1/mem_life/[Kernel PMU event]
nmem1/poweron_secs/[Kernel PMU event]
Signed-off-by: Kajol Jain
---
arch/powerpc/include/asm/device.h
functions,
cpu hotplug feature along with macros for handling events addition
via sysfs. It adds attribute groups for format, cpumask and events
to the pmu structure.
User could use the standard perf tool to access perf events exposed
via nvdimm pmu.
Signed-off-by: Kajol Jain
[Make hotplug
case current designated cpu got offline. As
pointed by Peter Zijlstra.
- Removed the retun -1 part from cpu hotplug offline
function.
- Link to the patchset v1: https://lkml.org/lkml/2021/6/8/500
Kajol Jain (4):
drivers/nvdimm: Add nvdimm pmu structure
drivers/nvdimm: Add perf interface to e
A structure is added called nvdimm_pmu, for performance
stats reporting support of nvdimm devices. It can be used to add
device pmu data such as pmu data structure for performance
stats, nvdimm device pointer along with cpumask attributes.
Signed-off-by: Kajol Jain
---
include/linux/nd.h | 20
(Commit id based on linux-next tree)
Signed-off-by: Kajol Jain
Link: https://lore.kernel.org/all/62317124.ybqfu33+s%2fwdvwgj%25...@intel.com/
Reported-by: kernel test robot
---
drivers/nvdimm/Makefile | 2 +-
include/linux/nd.h | 7 ---
2 files changed, 5 insertions(+), 4
the papr_scm perf interface support incase this config
is not set
Fixes: 4c08d4bbc089 ("powerpc/papr_scm: Add perf interface support") (Commit id
based on linux-next tree)
Signed-off-by: Kajol Jain
---
arch/powerpc/platforms/pseries/papr_scm.c | 15 +++
1 file
functions,
cpu hotplug feature along with macros for handling events addition
via sysfs. It adds attribute groups for format, cpumask and events
to the pmu structure.
User could use the standard perf tool to access perf events exposed
via nvdimm pmu.
Signed-off-by: Kajol Jain
[Make hotplug
Details are added for the event, cpumask and format attributes
in the ABI documentation.
Signed-off-by: Kajol Jain
---
Changelog:
Resend v5 -> v6
- No logic change, just a rebase to latest upstream.
- Link to the patchset Resend v5: https://lkml.org/lkml/2021/11/15/3979
Documentation/
A structure is added called nvdimm_pmu, for performance
stats reporting support of nvdimm devices. It can be used to add
device pmu data such as pmu data structure for performance
stats, nvdimm device pointer along with cpumask attributes.
Signed-off-by: Kajol Jain
---
Changelog:
Resend v5 ->
ed cpu got offline. As
pointed by Peter Zijlstra.
- Removed the retun -1 part from cpu hotplug offline
function.
- Link to the patchset v1: https://lkml.org/lkml/2021/6/8/500
Kajol Jain (4):
drivers/nvdimm: Add nvdimm pmu structure
drivers/nvdimm: Add perf interface to expose nvdimm performan
PMU event]
nmem0/poweron_secs/[Kernel PMU event]
...
nmem1/mem_life/[Kernel PMU event]
nmem1/poweron_secs/[Kernel PMU event]
Signed-off-by: Kajol Jain
---
Changelog:
Resend v5 ->
Details are added for the event, cpumask and format attributes
in the ABI documentation.
Acked-by: Peter Zijlstra (Intel)
Tested-by: Nageswara R Sastry
Signed-off-by: Kajol Jain
---
Changelog:
v6 -> v7
- Add Acked-by and Tested-by tag from Peter Zijlstra
and Nageswara R Sas
-by: Nageswara R Sastry
Signed-off-by: Kajol Jain
[Declare pmu functions in nd.h file to resolve implicit-function-declaration
warning and make hotplug function static as reported by kernel test robot]
Link: https://lore.kernel.org/all/202202241242.zqzgkguy-...@intel.com/
Reported-by: kernel test robot
l/2021/6/14/25
v1 -> v2
- Fix hotplug code by adding pmu migration call
incase current designated cpu got offline. As
pointed by Peter Zijlstra.
- Removed the retun -1 part from cpu hotplug offline
function.
- Link to the patchset v1: https://lkml.org/lkml/2021/6/8/500
Kajol Jain (4):
Signed-off-by: Kajol Jain
[Add numa_map_to_online_node function call to get online node id]
Reported-by: Nageswara R Sastry
---
Changelog:
Resend v6 -> v7
- Add function call to numa_map_to_online_node function inorder to
get online numa node. As the node id returned by function dev_to_n
Sastry
Signed-off-by: Kajol Jain
---
Changelog:
v6 -> v7
- Add Acked-by and Tested-by tag from Peter Zijlstra
and Nageswara R Sastry.
include/linux/nd.h | 20
1 file changed, 20 insertions(+)
diff --git a/include/linux/nd.h b/include/linux/nd.h
index 8a8c63edb
tub function for papr_scm_pmu_register to handle
the CONFIG_PERF_EVENTS=n case. Also move the position of macro
"to_nvdimm_pmu" inorder to merge it in CONFIG_PERF_EVENTS=y block.
Fixes: 4c08d4bbc089 ("powerpc/papr_scm: Add perf interface support") (Commit id
based on libnvdimm-for
for register_nvdimm_pmu and
unregister_nvdimm_pmu functions to handle CONFIG_PERF_EVENTS=n
case.
Fixes: 0fab1ba6ad6b ("drivers/nvdimm: Add perf interface to expose
nvdimm performance stats") (Commit id based on libnvdimm-for-next tree)
Signed-off-by: Kajol Jain
Link: https://lore.kern
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
---
tools/perf/arch/powerpc/util/header.c | 7 +--
tools/perf/util/metricgroup.c | 5 ++---
tools
2.0002538812.01.9
3.0003648102.02.0
Signed-off-by: Kajol Jain
---
.../arch/powerpc/power9/nest_metrics.json | 15 ---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git
events.
Based on which we can decide which runtime parameter user want to
access. Now character '?' can refers different parameter based on user
requirement.
Kajol Jain (3):
perf jevents: Add support for parsing perchip/percore events
perf/tools: Pass pmu_event structure as a parameter for
arc
Set up the "PerChip" field so that perf knows they are
per chip events.
Set up the "PerCore" field so that perf knows they are
per core events and add these fields to pmu_event structure.
Similar to the way we had "PerPkg field
to specify perpkg events.
Signed-off-b
- Rather then adding new field as PerCore/PerChip, created a new enum
to get these fields. And new field as "AggregationMode" which can
be used to capture these fields from json file.
- Suggested By Ian Rogers
Kajol Jain (5):
perf/pmu-events/jevents: Add enum to store
these terms.
Now, if user wants to add any new term, they just need to add it in
the enum defined.
Signed-off-by: Kajol Jain
Acked-by: Ian Rogers
---
tools/perf/pmu-events/jevents.c| 36 ++
tools/perf/pmu-events/jevents.h| 2 +-
tools/perf/pmu-events/pmu
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
Acked-by: Ian Rogers
---
tools/perf/arch/powerpc/util/header.c | 7 +--
tools/perf/util/metricgroup.c
2.0002538812.01.9
3.0003648102.02.0
Signed-off-by: Kajol Jain
Acked-by: Ian Rogers
---
.../arch/powerpc/power9/nest_metrics.json | 27 ---
1 file changed, 18 insertions(+), 9
Added the "PerChiip" field in enum "aggr_mode_classs" so that perf
knows they are per chip events.
Added the "PerCore" field in enum "aggr_mode_class" so that perf
knows they are per core events.
Similar to the way we had "PerPkg field to specify per
o capture these fields from json file.
- Suggested By Ian Rogers
Kajol Jain (5):
perf/pmu-events/jevents: Add enum to store aggregation like PerPkg
pmu-events/x86/uncore: Replace PerPkg field to AggregationMode in x86
json files
perf jevents: Add support for parsing perchip/pe
these terms.
Now, if user wants to add any new term, they just need to add it in
the enum defined.
Signed-off-by: Kajol Jain
---
tools/perf/pmu-events/jevents.c| 39 +++---
tools/perf/pmu-events/jevents.h| 2 +-
tools/perf/pmu-events/pmu-events.h | 6 -
tools
Added the "PerChip" field in enum so that perf knows they are
per chip events.
Added the "PerCore" field in enum so that perf knows they are
per core events and add these fields to pmu_event structure.
Similar to the way we had "PerPkg field
to specify perpkg events.
2.0002538812.01.9
3.0003648102.02.0
Signed-off-by: Kajol Jain
---
.../arch/powerpc/power9/nest_metrics.json | 27 ---
1 file changed, 18 insertions(+), 9 deletions(-)
diff --git
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
---
tools/perf/arch/powerpc/util/header.c | 7 +--
tools/perf/util/metricgroup.c | 5 ++---
tools
Added nest imc metric events.
Signed-off-by: Kajol Jain
---
.../arch/powerpc/power9/nest_metrics.json | 35 +++
1 file changed, 35 insertions(+)
diff --git a/tools/perf/pmu-events/arch/powerpc/power9/nest_metrics.json
b/tools/perf/pmu-events/arch/powerpc/power9
Added the "PerChip" field in enum so that perf knows they are
per chip events.
Added the "PerCore" field in enum so that perf knows they are
per core events and add these fields to pmu_event structure.
Similar to the way we had "PerPkg field
to specify perpkg events.
these terms.
Now, if user wants to add any new term, they just need to add it in
the enum defined.
Signed-off-by: Kajol Jain
---
tools/perf/pmu-events/jevents.c| 39 +++---
tools/perf/pmu-events/jevents.h| 2 +-
tools/perf/pmu-events/pmu-events.h | 6 -
tools
nd new field as "AggregationMode" which can
be used to capture these fields from json file.
Kajol Jain (5):
perf/pmu-events/jevents: Add enum to store aggregation like PerPkg
pmu-events/x86/uncore: Replace PerPkg field to AggregationMode in x86
json files
perf jevents: Add support
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
---
tools/perf/arch/powerpc/util/header.c | 7 +--
tools/perf/util/metricgroup.c | 5 ++---
tools
2.0002538812.01.9
3.0003648102.02.0
Signed-off-by: Kajol Jain
---
.../arch/powerpc/power9/nest_metrics.json | 17 +
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git
The following commit has been merged into the perf/core branch of tip:
Commit-ID: 84ad70320241566e028ada955c694ab92f3351e3
Gitweb:
https://git.kernel.org/tip/84ad70320241566e028ada955c694ab92f3351e3
Author:Kajol Jain
AuthorDate:Thu, 27 Aug 2020 12:17:32 +05:30
Committer
The following commit has been merged into the perf/urgent branch of tip:
Commit-ID: 6d6b8b9f4fceab7266ca03d194f60ec72bd4b654
Gitweb:
https://git.kernel.org/tip/6d6b8b9f4fceab7266ca03d194f60ec72bd4b654
Author:Kajol Jain
AuthorDate:Thu, 27 Aug 2020 12:17:32 +05:30
Committer
The following commit has been merged into the perf/core branch of tip:
Commit-ID: 1e1a873dc67fc748cc319a27603f33db91027730
Gitweb:
https://git.kernel.org/tip/1e1a873dc67fc748cc319a27603f33db91027730
Author:Kajol Jain
AuthorDate:Thu, 02 Apr 2020 02:03:37 +05:30
Committer
The following commit has been merged into the perf/core branch of tip:
Commit-ID: 9022608ec5babbb0fa631234098d52895e7e34d8
Gitweb:
https://git.kernel.org/tip/9022608ec5babbb0fa631234098d52895e7e34d8
Author:Kajol Jain
AuthorDate:Thu, 02 Apr 2020 02:03:38 +05:30
Committer
The following commit has been merged into the perf/core branch of tip:
Commit-ID: 354575c00d61c174e0ff070f56cf3cdbe6d23f9e
Gitweb:
https://git.kernel.org/tip/354575c00d61c174e0ff070f56cf3cdbe6d23f9e
Author:Kajol Jain
AuthorDate:Thu, 02 Apr 2020 02:03:40 +05:30
Committer
The following commit has been merged into the perf/core branch of tip:
Commit-ID: 3351c6da896bf521b118bfbb699fbda8f2a816b3
Gitweb:
https://git.kernel.org/tip/3351c6da896bf521b118bfbb699fbda8f2a816b3
Author:Kajol Jain
AuthorDate:Thu, 02 Apr 2020 02:03:39 +05:30
Committer
93 matches
Mail list logo