1
0
Fork 0

tests/dbusrunner: Add shortcut for recording with rr

RR now supports mutter, as per some upstream fixes [1], so we can add a
simple shortcut for the recorder

[1] https://github.com/rr-debugger/rr/pull/3140/

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3793>
This commit is contained in:
Marco Trevisan (Treviño) 2023-05-17 16:32:27 +02:00 committed by Marge Bot
parent 3e363a5421
commit 2a1cc195a3

View file

@ -270,6 +270,8 @@ def wrap_call(args, wrapper):
if wrapper == 'gdb':
args = ['gdb', '-ex', 'r', '-ex', 'bt full', '--args'] + args
elif wrapper == 'rr':
args = ['rr', 'record'] + args
elif wrapper:
args = wrapper.split(' ') + args