Skip to content

Commit 2c35d52

Browse files
committed
bpftool: Add arguments for filtering in and filtering out probes
Add positional arguments "filter_in" and "filter_out" to the feature command of bpftool. If "filter_in" is defined, bpftool is going to perform and print only checks which match the given pattern. If "filter_out" is defined, bpftool will not perform and print checks which match the given pattern. Syntax of the "bpftool feature" command after this change is: bpftool feature probe [COMPONENT] subsystem [SUBSYSTEM] [filter_in PATTERN] [filter_out PATTERN] [macros [prefix PREFIX]] COMPONENT := { kernel | dev NAME } SUBSYSTEM := { all | system-config | syscall-config | program-types | map-types | helpers | misc } Signed-off-by: Michal Rostecki <mrostecki@opensuse.org>
1 parent dc0dc4a commit 2c35d52

File tree

1 file changed

+189
-43
lines changed

1 file changed

+189
-43
lines changed

0 commit comments

Comments
 (0)