Skip to content

Commit

Permalink
perf: update c2c/sched/top yaml files
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
disgoel committed May 8, 2024
1 parent c1a189e commit 2b3d5c8
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 12 deletions.
8 changes: 8 additions & 0 deletions perf/perf_c2c.py.data/record_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -63,3 +67,7 @@ report: !mux
report_method: --stats
stdio:
report_method: --stdio
verbose:
report_method: -v
verbose_full:
report_method: --verbose
8 changes: 4 additions & 4 deletions perf/perf_sched.py.data/perf_sched.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -38,7 +38,7 @@ subsystem: !mux
tid_full:
option: --tid 10
summary:
option: -s
option: -s -f
summary_full:
option: --summary
with-summary:
Expand Down
16 changes: 8 additions & 8 deletions perf/perf_top.py.data/perf_top.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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

0 comments on commit 2b3d5c8

Please sign in to comment.