You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add coverage for perf record's --switch-output option #9
The --switch-output command line argument for perf record allows some external control over the perf recording session. Such a test might contain a crafted tracee, that would signal perf with SIGUSR and check the perf.data* results after, i.e.
If do_some_load() would be e.g. one third of do_some_other_load(), we might compare the records and verify that the second one brings more samples, etc. Please add this as a separate test script under base_record. TIA.
Activity
rfmvh commentedon Sep 11, 2020
Hint: A tracee is a child of
perf, so callinggetppid()within the tracee should give youperf's PID.