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:
parent
3e363a5421
commit
2a1cc195a3
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue