|
@@ -3344,6 +3344,8 @@ int cmd_trace(int argc, const char **argv, const char *prefix __maybe_unused)
|
|
|
goto out;
|
|
|
}
|
|
|
|
|
|
+ err = -1;
|
|
|
+
|
|
|
if (trace.trace_pgfaults) {
|
|
|
trace.opts.sample_address = true;
|
|
|
trace.opts.sample_time = true;
|
|
@@ -3368,6 +3370,11 @@ int cmd_trace(int argc, const char **argv, const char *prefix __maybe_unused)
|
|
|
return -1;
|
|
|
}
|
|
|
|
|
|
+ if (!trace.trace_syscalls && ev_qualifier_str) {
|
|
|
+ pr_err("The -e option can't be used with --no-syscalls.\n");
|
|
|
+ goto out;
|
|
|
+ }
|
|
|
+
|
|
|
if (output_name != NULL) {
|
|
|
err = trace__open_output(&trace, output_name);
|
|
|
if (err < 0) {
|