summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2016-05-13 15:01:01 +0900
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-05-16 23:11:45 -0300
commitb0404be8d6186f9f3c23e2b5ff247e667be90652 (patch)
tree8577c7b08f502190529814498f8d848069fc4e92 /tools/perf/scripts/python
parent6ae98ba611ed1c11ddc5645475bc03b46a3c04e7 (diff)
downloadkernel-b0404be8d6186f9f3c23e2b5ff247e667be90652.tar.gz
perf stat: Fix indentation of stalled backend cycle
The commit 140aeadc1fb5 ("perf stat: Abstract stat metrics printing") changed how shadow metrics are printed, but it missed to update the width of the stalled backend cycles event to 7.2% like others. This resulted in misaligned output like below: Performance counter stats for 'pwd': 0.638313 task-clock (msec) # 0.567 CPUs utilized 0 context-switches # 0.000 K/sec 0 cpu-migrations # 0.000 K/sec 54 page-faults # 0.085 M/sec 885,600 cycles # 1.387 GHz 558,438 stalled-cycles-frontend # 63.06% frontend cycles idle 431,355 stalled-cycles-backend # 48.71% backend cycles idle 674,956 instructions # 0.76 insn per cycle # 0.83 stalled cycles per insn 130,380 branches # 204.257 M/sec <not counted> branch-misses 0.001125426 seconds time elapsed Signed-off-by: Namhyung Kim <namhyung@kernel.org> Cc: Andi Kleen <andi@firstfloor.org> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Fixes: 140aeadc1fb5 ("perf stat: Abstract stat metrics printing") Link: http://lkml.kernel.org/r/1463119263-5569-1-git-send-email-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
/build/feature?h=linux-6.6.y&id=cfd59ca91467056bb2c36907b2fa67b8e1af9952'>tools build: Add feature test for init_disassemble_info API changesAndres Freund 2022-05-26perf build: Stop using __weak bpf_map_create() to handle older libbpf versionsArnaldo Carvalho de Melo 2022-05-26perf build: Stop using __weak btf__raw_data() to handle older libbpf versionsJiri Olsa 2022-05-26perf build: Stop using __weak bpf_object__next_map() to handle older libbpf v...Jiri Olsa 2022-05-26perf build: Stop using __weak bpf_object__next_program() to handle older libb...Jiri Olsa 2022-05-26perf build: Stop using __weak bpf_prog_load() to handle older libbpf versionsJiri Olsa 2022-05-26perf build: Fix btf__load_from_kernel_by_id() feature checkJiri Olsa 2022-05-20perf build: Fix check for btf__load_from_kernel_by_id() in libbpfArnaldo Carvalho de Melo 2022-04-09tools build: Filter out options and warnings not supported by clangArnaldo Carvalho de Melo 2022-04-09tools build: Use $(shell ) instead of `` to get embedded libperl's ccoptsArnaldo Carvalho de Melo 2021-12-10Merge https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextJakub Kicinski 2021-12-06tools build: Remove needless libpython-version feature check that breaks test...Arnaldo Carvalho de Melo 2021-11-26bpf, mips: Fix build errors about __NR_bpf undeclaredTiezhu Yang 2021-11-18tools build: Fix removal of feature-sync-compare-and-swap feature detectionArnaldo Carvalho de Melo 2021-11-04tools: Bump minimum LLVM C++ std to GNU++14Ian Rogers 2021-10-26tools build: Drop needless slang include path in test-allJohn Keeping 2021-09-28perf tools: Enable libtracefs dynamic linkingIan Rogers 2021-09-03perf cs-etm: Update OpenCSD decoder for ETEJames Clark 2021-08-09tools: Remove feature-sync-compare-and-swap feature detectionLeo Yan 2021-04-29perf tools: Enable libtraceevent dynamic linkingMichael Petlan 2021-02-22Merge tag 'perf-tools-for-v5.12-2020-02-19' of git://git.kernel.org/pub/scm/l...Linus Torvalds 2021-01-29tools: Factor Clang, LLC and LLVM utils definitionsSedat Dilek 2021-01-20perf cs-etm: Update ARM's CoreSight hardware tracing OpenCSD library to v1.0.0James Clark 2020-12-17tools build: Add missing libcap to test-all.bin targetJiri Olsa 2020-11-03tools feature: Fixup fast path feature detectionArnaldo Carvalho de Melo