summaryrefslogtreecommitdiff
path: root/trace/default.c
diff options
context:
space:
mode:
Diffstat (limited to 'trace/default.c')
-rw-r--r--trace/default.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/trace/default.c b/trace/default.c
index 3573d5b296..c9b27a289b 100644
--- a/trace/default.c
+++ b/trace/default.c
@@ -25,8 +25,13 @@ bool trace_event_set_state(const char *name, bool state)
return false;
}
-bool trace_backend_init(const char *file)
+bool trace_backend_init(const char *events, const char *file)
{
+ if (events) {
+ fprintf(stderr, "error: -trace events=...: "
+ "option not supported by the selected tracing backend\n");
+ return false;
+ }
if (file) {
fprintf(stderr, "error: -trace file=...: "
"option not supported by the selected tracing backend\n");