diff options
| author | Adrian Hunter <[email protected]> | 2021-05-30 19:23:00 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-06-01 13:03:33 +0000 |
| commit | cf9bfa6c150f038328f8059a69a6f1598d6702b2 (patch) | |
| tree | 6211dc1b3f02188229cacc39667760f66e32a47a /tools/perf/scripts/python/intel-pt-events.py | |
| parent | perf scripting: Add perf_session to scripting_context (diff) | |
| download | kernel-cf9bfa6c150f038328f8059a69a6f1598d6702b2.tar.gz kernel-cf9bfa6c150f038328f8059a69a6f1598d6702b2.zip | |
perf scripting python: Assign perf_script_context
The scripting_context pointer itself does not change and nor does it need
to. Put it directly into the script as a variable at the start so it does
not have to be passed on each call into the script.
Signed-off-by: Adrian Hunter <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Jiri Olsa <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions
