Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:24
erlang
0715-Update-perf-workflow-for-OTP26.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0715-Update-perf-workflow-for-OTP26.patch of Package erlang
From 50bdb9636d19172372d39981ef89cbda511add52 Mon Sep 17 00:00:00 2001 From: Michal Kuratczyk <mkuratczyk@vmware.com> Date: Mon, 17 Apr 2023 12:45:01 +0200 Subject: [PATCH] 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+ --- erts/emulator/internal_doc/BeamAsm.md | 5 +++-- 1 file 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 -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor