summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSteven Rostedt <rostedt@goodmis.org>2025-05-06 10:23:00 -0400
committerSteven Rostedt (Google) <rostedt@goodmis.org>2025-05-06 11:31:45 -0400
commit00d872dd541cdf22230510201a1baf58f0147db9 (patch)
treec74700ed4ff08307e1a6c12b8c9d56f62d6267f2 /tools/perf/scripts/python/export-to-postgresql.py
parent531ee10b430eed70df360932086a2587d39b2bdf (diff)
tracing: Only return an adjusted address if it matches the kernel address
The trace_adjust_address() will take a given address and examine the persistent ring buffer to see if the address matches a module that is listed there. If it does not, it will just adjust the value to the core kernel delta. But if the address was for something that was not part of the core kernel text or data it should not be adjusted. Check the result of the adjustment and only return the adjustment if it lands in the current kernel text or data. If not, return the original address. Cc: Masami Hiramatsu <mhiramat@kernel.org> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com> Link: https://lore.kernel.org/20250506102300.0ba2f9e0@gandalf.local.home Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions