From: "Steven Rostedt (Google)" <rostedt@xxxxxxxxxxx> Do not print that a CPU contains no data if the -q option is present. Signed-off-by: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx> --- lib/trace-cmd/trace-input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/trace-cmd/trace-input.c b/lib/trace-cmd/trace-input.c index 643dd807c575..aa40d2451ab6 100644 --- a/lib/trace-cmd/trace-input.c +++ b/lib/trace-cmd/trace-input.c @@ -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; } -- 2.35.1