perf script: Add --dump-unsorted-raw-trace option
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 11 Jul 2022 09:31:50 +0000 (12:31 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 20 Jul 2022 14:07:48 +0000 (11:07 -0300)
commit57190e38b00d25abba9631b8db53740fce4baced
tree1ff7cbadf1c4c8fcbab0d27763f16fa1f6cd6a06
parent1ee94463e9ac4721cfef27ffcd6f97ab026e3aac
perf script: Add --dump-unsorted-raw-trace option

When reviewing the results of perf inject, it is useful to be able to see
the events in the order they appear in the file.

So add --dump-unsorted-raw-trace option to do an unsorted dump.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Acked-by: Ian Rogers <irogers@google.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: kvm@vger.kernel.org
Link: https://lore.kernel.org/r/20220711093218.10967-8-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Documentation/perf-script.txt
tools/perf/builtin-script.c