trace-cmd report: Have -q not print empty CPUs
PATCH 1/1 trace-cmd report: Have -q not print empty CPUs
From: "Steven Rostedt (Google)" <[email protected]>
Do not print that a CPU contains no data if the -q option is present.
Signed-off-by Steven Rostedt (Google) <[email protected]>
--- lib/trace-cmd/trace-input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/trace-cmd/trace-input.c +1 -1
@@ -2720,7 +2720,7 @@ static int init_cpu(struct tracecmd_input *handle, int cpu)list_head_init (&cpu_data->compress.cache);if (!cpu_data->size) { -printf ("CPU %d is empty\n" , cpu); +tracecmd_info ("CPU %d is empty" , cpu);return 0 ; }
Signature · 1 line
2.35.1