diff options
author | Michal Kuratczyk <mkuratczyk@vmware.com> | 2023-04-17 12:45:01 +0200 |
---|---|---|
committer | Michal Kuratczyk <mkuratczyk@vmware.com> | 2023-04-17 12:45:01 +0200 |
commit | 50bdb9636d19172372d39981ef89cbda511add52 (patch) | |
tree | 6526c0bd402da3eb3621b38632ed0ca928046a92 /erts/emulator/internal_doc | |
parent | 7022abd762883726cf33e616769aca3727ab0354 (diff) | |
download | erlang-50bdb9636d19172372d39981ef89cbda511add52.tar.gz |
Update `perf` workflow for OTP26
Scheduler names changed in OTP26, so we need a different `sed` expresion
to merge data from all schedulers. The example is now compatible with
versions prior to OTP26 and OTP26+
Diffstat (limited to 'erts/emulator/internal_doc')
-rw-r--r-- | erts/emulator/internal_doc/BeamAsm.md | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/erts/emulator/internal_doc/BeamAsm.md b/erts/emulator/internal_doc/BeamAsm.md index b9a739d897..4df4634d2d 100644 --- a/erts/emulator/internal_doc/BeamAsm.md +++ b/erts/emulator/internal_doc/BeamAsm.md @@ -385,8 +385,9 @@ not need the symbols in the executable. Using the same data we can also produce a graph where the scheduler profile data has been merged by using `sed`: - ## Strip [0-9]+_ from all scheduler names - sed -e 's/^[0-9]\+_//' out.folded > out.folded_sched + ## Strip [0-9]+_ and/or _[0-9]+ from all scheduler names + ## scheduler names changed in OTP26, hence two expressions + sed -e 's/^[0-9]\+_//' -e 's/^erts_\([^_]\+\)_[0-9]\+/erts_\1/' out.folded > out.folded_sched ## Create the svg flamegraph.pl out.folded_sched > out_sched.svg |