Skip to content
Commit 6be9971c authored by Felix Willgerodt's avatar Felix Willgerodt
Browse files

btrace, python: Enable ptwrite filter registration.



By default GDB will be printing the hex payload of the ptwrite package as
auxiliary information.  To customize this, the user can register a ptwrite
filter function in python, that takes the payload and the PC as arguments and
returns a string which will be printed instead.  Registering the filter
function is done using a factory pattern to make per-thread filtering easier.

Approved-By: default avatarMarkus Metzger <markus.t.metzger@intel.com>
parent 77a33bb0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment