|
@@ -1140,6 +1140,12 @@ struct option __record_options[] = {
|
|
|
"per thread proc mmap processing timeout in ms"),
|
|
|
OPT_BOOLEAN(0, "switch-events", &record.opts.record_switch_events,
|
|
|
"Record context switch events"),
|
|
|
+ OPT_BOOLEAN_FLAG(0, "all-kernel", &record.opts.all_kernel,
|
|
|
+ "Configure all used events to run in kernel space.",
|
|
|
+ PARSE_OPT_EXCLUSIVE),
|
|
|
+ OPT_BOOLEAN_FLAG(0, "all-user", &record.opts.all_user,
|
|
|
+ "Configure all used events to run in user space.",
|
|
|
+ PARSE_OPT_EXCLUSIVE),
|
|
|
OPT_STRING(0, "clang-path", &llvm_param.clang_path, "clang path",
|
|
|
"clang binary to use for compiling BPF scriptlets"),
|
|
|
OPT_STRING(0, "clang-opt", &llvm_param.clang_opt, "clang options",
|