From 2b3d5c8fe1188ee31ce30720b4c3dec5f05f9fbb Mon Sep 17 00:00:00 2001 From: Disha Goel Date: Wed, 8 May 2024 12:09:48 +0530 Subject: [PATCH] perf: update c2c/sched/top yaml files Update perf_c2c, perf_sched and perf_top yaml files with new options available and removing unsupported options from perf_top yaml. commit 57594454ceb92 which adds support for addr2line and objdump Also perf sched replay fails on some lpar where it reaches the limitation of the maximum open files. This is fixed by using -f option. commit 939cda521a24 Update values for pid and tid in perf_top yaml as with current value it fails with error Unknown option -p 10. Signed-off-by: Disha Goel --- perf/perf_c2c.py.data/record_report.yaml | 8 ++++++++ perf/perf_sched.py.data/perf_sched.yaml | 8 ++++---- perf/perf_top.py.data/perf_top.yaml | 16 ++++++++-------- 3 files changed, 20 insertions(+), 12 deletions(-) diff --git a/perf/perf_c2c.py.data/record_report.yaml b/perf/perf_c2c.py.data/record_report.yaml index c608ed09c..b05fb1974 100644 --- a/perf/perf_c2c.py.data/record_report.yaml +++ b/perf/perf_c2c.py.data/record_report.yaml @@ -19,6 +19,10 @@ record: !mux record_method: -u all_user_full: record_method: --all-user + verbose: + record_method: -v + verbose_full: + record_method: --verbose report: !mux coalesce: @@ -63,3 +67,7 @@ report: !mux report_method: --stats stdio: report_method: --stdio + verbose: + report_method: -v + verbose_full: + report_method: --verbose diff --git a/perf/perf_sched.py.data/perf_sched.yaml b/perf/perf_sched.py.data/perf_sched.yaml index d5b383ab5..aa325f58b 100644 --- a/perf/perf_sched.py.data/perf_sched.yaml +++ b/perf/perf_sched.py.data/perf_sched.yaml @@ -4,14 +4,14 @@ subsystem: !mux script: name: script replay: - name: replay + name: replay -f map: name: map variants: !mux compact: option: --compact cpus: - option: --cpus 0 + option: --cpus 0 -v color-cpus: option: --color-cpus 0 color-pids: @@ -20,7 +20,7 @@ subsystem: !mux name: timehist variants: !mux call-graph: - option: -g + option: -g -D call-graph_full: option: --call-graph max-stack: @@ -38,7 +38,7 @@ subsystem: !mux tid_full: option: --tid 10 summary: - option: -s + option: -s -f summary_full: option: --summary with-summary: diff --git a/perf/perf_top.py.data/perf_top.yaml b/perf/perf_top.py.data/perf_top.yaml index 3cc4c8405..cca1380d5 100644 --- a/perf/perf_top.py.data/perf_top.yaml +++ b/perf/perf_top.py.data/perf_top.yaml @@ -50,13 +50,13 @@ variants: !mux mmap-pages_full: option: --mmap-pages 8 pid: - option: -p 10 + option: -p 1 pid_full: - option: --pid 10 + option: --pid 1 tid: - option: -t 10 + option: -t 1 tid_full: - option: --tid 10 + option: --tid 1 uid: option: -u 1 uid_full: @@ -159,9 +159,9 @@ variants: !mux option: --namespaces all-cgroups: option: --all-cgroups - switch-on: - option: --switch-on cycles - switch-off: - option: --switch-off cycles show-on-off-events: option: --show-on-off-events + addr2line: + option: --addr2line /usr/bin/addr2line + objdump: + option: --objdump /usr/bin/objdump