Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow running without syscall tracepoints (#2990)
Currently we fail to run if tracepoints can't be set on various sub-events of /sys/kernel/debug/tracing/events/syscalls/ . Currently these are used to detect various offsets when BTF is not available. Since some kernel configurations don't have syscall tracepoints, but do have BTF info, things might still work if we just keep running here. I have confirmed that with this patch, the agent starts up and seems to work normally on a kernel without CONFIG_FTRACE_SYSCALLS, which fails without this patch.
- Loading branch information