[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210525095112.1399-1-adrian.hunter@intel.com>
Date: Tue, 25 May 2021 12:51:02 +0300
From: Adrian Hunter <adrian.hunter@...el.com>
To: Arnaldo Carvalho de Melo <acme@...nel.org>,
Jiri Olsa <jolsa@...hat.com>, Andi Kleen <ak@...ux.intel.com>
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH 00/10] perf scripting python: Improve general scripting for Intel PT
Hi
These patches make it easier to customize scripting for Intel PT traces.
The first patch is a dependent fix.
Subsequent patches add more information to python scripting.
The final patch adds a branch trace to the intel-pt-events.py script
which previously supported only power events and ptwrite.
Adrian Hunter (10):
perf scripting python: Fix tuple_set_u64()
perf scripting python: Factor out set_sym_in_dict()
perf scripting python: Add 'addr_location' for 'addr'
perf script: Factor out perf_sample__sprintf_flags()
perf scripting python: Add sample flags
perf scripting python: Add IPC
perf scripting python: Add cpumode
perf scripting python: Add context switch
perf scripting python: Add auxtrace error
perf scripts python: intel-pt-events.py: Add branches to script
tools/perf/builtin-script.c | 56 +++-
.../perf/scripts/python/bin/intel-pt-events-record | 4 +-
.../perf/scripts/python/bin/intel-pt-events-report | 4 +-
tools/perf/scripts/python/intel-pt-events.py | 143 +++++++--
tools/perf/util/db-export.c | 12 +-
tools/perf/util/db-export.h | 2 +-
.../perf/util/scripting-engines/trace-event-perl.c | 3 +-
.../util/scripting-engines/trace-event-python.c | 321 +++++++++++++++------
tools/perf/util/trace-event-scripting.c | 3 +-
tools/perf/util/trace-event.h | 8 +-
10 files changed, 415 insertions(+), 141 deletions(-)
Regards
Adrian
Powered by blists - more mailing lists