Milian Wolff <m...@milianw.de> writes:

> [...]
>> >> today I played around with perf-script(-python) and custom tracepoints.
>> >> What I could not figure out so far is how to print a backtrace from the
>> >> python callback. [...]

While you wait, you might try systemtap, wherein there exists support
not just for plain C-level backtracing (print_ubacktrace() as for any
other program), but also python source-level backtracing (via a tapset
function).

https://sourceware.org/systemtap/examples/#general/py2example.stp

- FChE
--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to