summaryrefslogtreecommitdiff
path: root/Documentation/ABI/testing/sysfs-bus-event_source-devices-hv_24x7
diff options
context:
space:
mode:
authorKajol Jain <kjain@linux.ibm.com>2020-10-03 13:19:39 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2020-10-07 22:34:48 +1100
commit0f9866f7e85765bbda86666df56c92f377c3bc10 (patch)
treeb2902ea32a6d1a23c77f619197ce66b592c98cd3 /Documentation/ABI/testing/sysfs-bus-event_source-devices-hv_24x7
parent8175bd580e629dcf9cc507794da774a6b8d3a9bd (diff)
powerpc/perf/hv-gpci: Fix starting index value
Commit 9e9f60108423f ("powerpc/perf/{hv-gpci, hv-common}: generate requests with counters annotated") adds a framework for defining gpci counters. In this patch, they adds starting_index value as '0xffffffffffffffff'. which is wrong as starting_index is of size 32 bits. Because of this, incase we try to run hv-gpci event we get error. In power9 machine: command#: perf stat -e hv_gpci/system_tlbie_count_and_time_tlbie_instructions_issued/ -C 0 -I 1000 event syntax error: '..bie_count_and_time_tlbie_instructions_issued/' \___ value too big for format, maximum is 4294967295 This patch fix this issue and changes starting_index value to '0xffffffff' After this patch: command#: perf stat -e hv_gpci/system_tlbie_count_and_time_tlbie_instructions_issued/ -C 0 -I 1000 1.000085786 1,024 hv_gpci/system_tlbie_count_and_time_tlbie_instructions_issued/ 2.000287818 1,024 hv_gpci/system_tlbie_count_and_time_tlbie_instructions_issued/ 2.439113909 17,408 hv_gpci/system_tlbie_count_and_time_tlbie_instructions_issued/ Fixes: 9e9f60108423 ("powerpc/perf/{hv-gpci, hv-common}: generate requests with counters annotated") Signed-off-by: Kajol Jain <kjain@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20201003074943.338618-1-kjain@linux.ibm.com
Diffstat (limited to 'Documentation/ABI/testing/sysfs-bus-event_source-devices-hv_24x7')
0 files changed, 0 insertions, 0 deletions