summaryrefslogtreecommitdiff
path: root/pflog.h
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2022-01-24 09:56:21 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2022-01-27 16:05:58 +0100
commit65f4c88d27fa3a333b7f5303c34d8d10999e1d4d (patch)
tree0184c44a1aff098c0f97c54217ff1830e9122f6c /pflog.h
parent1af6dea4120b6d566f7c4e6eff0179b6fa819ba9 (diff)
downloadtcpdump-65f4c88d27fa3a333b7f5303c34d8d10999e1d4d.tar.gz
instrument functions: Enhance the output
If entering in a function, print also the calling function name with file name and line number. There may be a small shift in the line number. In some cases, with Clang 11, the file number is unknown (printed '??') or the line number is unknown (printed '?'). In this case, use GCC. To print nothing, like with no instrumentation: $ make instrument_off As before, the following commands are available: To configure the printing of only the global functions names: $ make instrument_global To go back to print all the functions names: $ make instrument_all The library libbfd is used, therefore the binutils-dev package is required.
Diffstat (limited to 'pflog.h')
0 files changed, 0 insertions, 0 deletions