diff options
author | Veronika Molnarova <vmolnaro@redhat.com> | 2023-12-12 17:59:09 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2023-12-20 13:20:45 -0300 |
commit | e43c64c971e48d11ee100c5a8b2eadbed056f924 (patch) | |
tree | 2edf2bb54a84437f03a9c086ea73d7bd577ba22d /tools/perf/scripts/python | |
parent | 624dda101e03c3a3a155d51e37a7bb7607cb760b (diff) | |
download | linux-e43c64c971e48d11ee100c5a8b2eadbed056f924.tar.gz linux-e43c64c971e48d11ee100c5a8b2eadbed056f924.tar.bz2 linux-e43c64c971e48d11ee100c5a8b2eadbed056f924.zip |
perf archive: Add new option '--unpack' to expand tarballs
Archives generated by the command 'perf archive' have to be unpacked
manually.
Following the addition of option '--all' now there also exist a nested
structure of tars, and after further discussion with Red Hat Global
Support Services, they found a feature correctly unpacking archives of
'perf archive' convenient.
Option '--unpack' of 'perf archive' unpacks archives generated by the
command 'perf archive' as well as archives generated when used with
option '--all'.
The 'perf.data' file is placed in the current directory, while debug
symbols are unpacked in '~/.debug' directory. A tar filename can be
passed as an argument, and if not provided the command tries to find a
viable perf.tar file for unpacking.
Signed-off-by: Veronika Molnarova <vmolnaro@redhat.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Link: https://lore.kernel.org/r/20231212165909.14459-2-vmolnaro@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions