| commit | 6be9971c93f3bbcd4b779e5591697748da6b093e | [log] [tgz] |
|---|---|---|
| author | Felix Willgerodt <felix.willgerodt@intel.com> | Tue May 15 15:42:24 2018 +0200 |
| committer | Felix Willgerodt <felix.willgerodt@intel.com> | Wed Aug 14 11:20:57 2024 +0200 |
| tree | 317dfc692743480d284331fa92b9088bdafa25cf | |
| parent | 77a33bb02413975ccac5ccca315edc72dd6fe25b [diff] |
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: Markus Metzger <markus.t.metzger@intel.com>