Message ID | 20230601075053.3fa7dd9b@rorschach.local.home (mailing list archive) |
---|---|
State | Accepted |
Commit | 9c9d5ed97fcd7e5d1308c4f589d01949c8a1b007 |
Headers | show |
Series | trace-cmd extract: Do not extract top level unless told to | expand |
diff --git a/tracecmd/trace-record.c b/tracecmd/trace-record.c index f852aa71..56b7991a 100644 --- a/tracecmd/trace-record.c +++ b/tracecmd/trace-record.c @@ -7278,7 +7278,7 @@ void trace_extract(int argc, char **argv) type = get_trace_cmd_type(ctx.curr_cmd); - update_first_instance(ctx.instance, 1); + update_first_instance(ctx.instance, ctx.topt); check_function_plugin(); if (!ctx.output)