Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <[email protected]>
  • Loading branch information
FedeDP committed Feb 14, 2025
1 parent c7b8dba commit 9cd3e18
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion userspace/libpman/src/lifecycle.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ int pman_prepare_progs_before_loading() {
bool should_disable = chosen_idx != -1;
if(!should_disable) {
if(progs[idx].feat > 0 &&
libbpf_probe_bpf_helper(BPF_PROG_TYPE_TRACING, progs[idx].feat, NULL) == 0) {
libbpf_probe_bpf_helper(BPF_PROG_TYPE_RAW_TRACEPOINT, progs[idx].feat, NULL) ==
0) {
snprintf(msg,
MAX_ERROR_MESSAGE_LEN,
"BPF program '%s' did not satisfy required feature [%d]",
Expand Down

0 comments on commit 9cd3e18

Please sign in to comment.