tcpdump mailing list archives
Re: Pcap debug at runtime
From: Denis Ovsienko <denis () ovsienko info>
Date: Sat, 18 Mar 2023 11:40:02 +0000
On Tue, 14 Mar 2023 08:33:40 +0100 Francois-Xavier Le Bail <devel.fx.lebail () orange fr> wrote:
After an update based on a Denis's idea, the configuration use now an
environment variable instead of configurations files.
If the environment variable INSTRUMENT is
- unset or set to an empty string, print nothing, like with no
instrumentation
- set to "all" or "a", print all the functions names
- set to "global" or "g", print only the global functions names
Note that before the change, the default was to print all functions.
Now it is to print nothing.
For posterity, this is where the idea originates:
$ LD_DEBUG=help date
Valid options for the LD_DEBUG environment variable are:
libs display library search paths
reloc display relocation processing
files display progress for input file
symbols display symbol table processing
bindings display information about symbol binding
versions display version dependencies
scopes display scope information
all all previous options combined
statistics display relocation statistics
unused determined unused DSOs
help display this help message and exit
To direct the debugging output into a file instead of standard output
a filename can be specified using the LD_DEBUG_OUTPUT environment
variable.
--
Denis Ovsienko
_______________________________________________
tcpdump-workers mailing list -- tcpdump-workers () lists tcpdump org
To unsubscribe send an email to tcpdump-workers-leave () lists tcpdump org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
Current thread:
- Pcap debug at runtime Paschal Chukwuebuk Amusuo (Feb 20)
- Re: Pcap debug at runtime Guy Harris (Feb 20)
- Re: Pcap debug at runtime Paschal Chukwuebuk Amusuo (Feb 20)
- Re: Pcap debug at runtime Francois-Xavier Le Bail (Feb 28)
- Re: Pcap debug at runtime Denis Ovsienko (Mar 01)
- Re: Pcap debug at runtime Francois-Xavier Le Bail (Mar 02)
- Re: Pcap debug at runtime Francois-Xavier Le Bail (Mar 14)
- Re: Pcap debug at runtime Denis Ovsienko (Mar 18)
- Re: Pcap debug at runtime Guy Harris (Feb 20)
