inspect command helps you discover which probes are available and compatible with Retis on your system. This is useful when planning your collection strategy or troubleshooting probe issues.
Usage
Options
List all probes matching the pattern, or all probes if no pattern is given.Only probes compatible with Retis probing are returned. The pattern supports wildcards. If no probe type is given, ‘kprobe’ is used.Examples:
retis inspect -p- List all compatible probesretis inspect -p 'tp:*'- List all compatible tracepointsretis inspect -p 'kprobe:tcp_*'- List all tcp-related kprobes
Path to kernel configuration file (e.g.,
/boot/config-6.3.8-200.fc38.x86_64).By default, Retis auto-detects the kernel configuration.Examples
List All Compatible Probes
List all probes that Retis can use:List Tracepoint Probes
Find all available tracepoint probes:List TCP-Related Kprobes
Find all kprobes related to TCP:Search for Specific Function
If you don’t specify a probe type, Retis searches both kprobes and tracepoints:Use Cases
Planning Collection
Before starting a collection, inspect which probes are available for your target:Troubleshooting
If a probe fails to load during collection, use inspect to verify it exists and is compatible:Discovering Tracepoints
Find tracepoints in specific subsystems:How Compatibility Is Determined
Retis only lists probes that are compatible with its collectors. A probe is considered compatible if:- It has parameters that collectors can extract (e.g.,
struct sk_buff *) - The probe signature matches what collectors expect
- The necessary BTF (BPF Type Format) information is available
retis collect.
See Also
collect command
Use discovered probes in collection
Profiles
Pre-configured probe sets
