diff options
author | Andi Kleen <ak@linux.intel.com> | 2024-09-04 18:29:40 -0700 |
---|---|---|
committer | Andi Kleen <ak@linux.intel.com> | 2024-09-04 18:31:10 -0700 |
commit | 593712b0a72c83baf16dc245ba6f9cc79984625d (patch) | |
tree | 6fb269183d658efd615fb2547cef832de06c2d84 | |
parent | 5e9e055596421f2532e3044ac640e5b7bad65920 (diff) | |
download | linux-misc-perf/brstack-resolve-1.tar.gz |
perf: Update documentation for new python callbacksperf/brstack-resolve-1
Document perf_brstack_srcline and perf_ip_srcline.
Signed-off-by: Andi Kleen <ak@linux.intel.com>
-rw-r--r-- | tools/perf/Documentation/perf-script-python.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/Documentation/perf-script-python.txt b/tools/perf/Documentation/perf-script-python.txt index 13e37e9385ee42..8afa86189c3cb3 100644 --- a/tools/perf/Documentation/perf-script-python.txt +++ b/tools/perf/Documentation/perf-script-python.txt @@ -624,6 +624,9 @@ as perf_trace_context.perf_script_context . perf_set_itrace_options(context, itrace_options) - set --itrace options if they have not been set already perf_sample_srcline(context) - returns source_file_name, line_number perf_sample_srccode(context) - returns source_file_name, line_number, source_line + perf_brstack_srcline(context, brstack) - returns source_file_name, line_number, discriminator, executable, build-id, inline-stack for each entry of a brstack from the sample. Inline stack is a list of inlines with filename, line number, discriminator, symbolname for each entry. + perf_ip_srcline(context, ip) - returns source_file_name, line_number, discriminator, executable, build-id, inline-stack for a numerical IP address. + Util.py Module |