tplist(8)
π tplist(8) π
System Manager's Manual πΈ
β¨ NAME β¨
okay so tplist is the tool that lists kernel tracepoints or USDT probes, and it can show their formats too π¦
π SYNOPSIS π
tplist [-p PID] [-l LIB] [-v] [filter]
π DESCRIPTION π
okay so tplist lists all the kernel tracepoints, and if you ask nicely it'll also print each tracepoint's format π§ that's the list of variables you can grab whenever the tracepoint gets hit. it can also list USDT probes baked into a specific library or executable, and it can list the USDT probes for every library a specific process has loaded π₯ these features are usually used together with the argdist and/or trace tools, so they're basically a team π«Ά
ngl this is giving main character energy: on a typical system, reading the tracepoint list and format needs root π but USDT probes? no root needed, bestie π
π OPTIONS π
-p PIDβ shows the USDT probes from every library that the process with that PID has loaded π¦-l LIBβ shows the USDT probes from the library or executable you name π if it lives in one of the standard paths, you don't need to type the full path, so lowkey easy πΈ-vβ turns the verbosity up a notch β¨ this is how you see the variables, locations, and arguments for tracepoints and USDT probes π[filter]β a wildcard expression that picks which tracepoints or probes get printed π for example,block:*prints all the block tracepoints (likeblock:block_rq_complete, etc.) π heads up though: regular expressions are not supported, so no fancy regex era here π ββοΈ
π§ EXAMPLES π§
Print all kernel tracepoints:
# tplist
Print all net tracepoints with their format:
# tplist -v 'net:*'
Print all USDT probes in libpthread:
$ tplist -l pthread
Print all USDT probes in process 4717 from the libc provider:
$ tplist -p 4717 'libc:*'
Print all the USDT probes in the node executable:
$ tplist -l node
π₯ SOURCE π₯
this one is from bcc, iykyk π
https://github.com/iovisor/bcc
πΈ OS πΈ
Linux π§
π STABILITY π
Unstable - in development. it's still cooking, so expect some changes π³
π AUTHOR π
Sasha Goldshtein π«Ά
okay bestie, that's the whole tea ββ¨ this page is from the USER COMMANDS section, it was last updated on 2016-03-20, and it's all about tplist(8) π¦π periodt π
π¦ where this page comes from
- debian bookworm: bpfcc-tools 0.26.0+ds-1 Β· Apache-2.0
- debian trixie: bpfcc-tools 0.31.0+ds-7 Β· Apache-2.0
- ubuntu jammy: bpfcc-tools 0.18.0+ds-2 Β· Apache-2.0
- ubuntu noble: bpfcc-tools 0.29.1+ds-1ubuntu7 Β· Apache-2.0
- ubuntu questing: bpfcc-tools 0.31.0+ds-7ubuntu2 Β· Apache-2.0
- ubuntu resolute: bpfcc-tools 0.35.0+ds-1ubuntu2 Β· Apache-2.0
- ubuntu stonking: bpfcc-tools 0.35.0+ds-1ubuntu4 Β· Apache-2.0
- π girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms