profile command allows you to list and inspect available profiles on your system. Profiles are predefined sets of CLI arguments that provide comprehensive configurations for specific tracing scenarios.
Usage
Subcommands
list
List all available profiles on the system./usr/share/retis/profiles/- System-wide profiles$HOME/.config/retis/profiles/- User profiles- Custom directories specified with
-P/--extra-profiles-dir
Options
Path to an additional directory with custom profiles.This directory takes precedence over built-in profile directories. Useful for organization-specific or project-specific profiles.
Examples
List All Profiles
See what profiles are available:List Profiles Including Custom Directory
Search for profiles in a custom location:Using Profiles with Collect
After listing profiles, use them with the collect command:Profile Structure
Profiles are YAML files that define:- Profile name and description
- Collectors to enable
- Probes to install
- Command-line arguments to apply
Creating Custom Profiles
- Create a YAML file in
$HOME/.config/retis/profiles/ - Define your profile following the structure above
- Use
retis profile listto verify it’s detected - Use it with
retis -p <profile-name> collect
Profile files can contain multiple profiles. Each profile in the file will be listed separately.
Profile Priority
When profiles are loaded from multiple locations:- Custom directory specified with
-P(highest priority) - User profiles in
$HOME/.config/retis/profiles/ - System profiles in
/usr/share/retis/profiles/
See Also
Profile Concept
Learn about profiles and how they work
Built-in Profiles
Documentation for each built-in profile
collect command
Use profiles with the collect command
