On Fri, 7 May 2021 12:53:27 +0300 "Tzvetomir Stoyanov (VMware)" <tz.stoyanov@xxxxxxxxx> wrote: > --- a/tracecmd/trace-record.c > +++ b/tracecmd/trace-record.c > @@ -2934,6 +2934,20 @@ static void test_event(struct event_list *event, const char *path, > > *save = event; > } > +static void pr_stat(const char *fmt, ...) > +{ > + va_list ap; > + > + if (!show_status) > + return; > + > + va_start(ap, fmt); > + vprintf(fmt, ap); > + va_end(ap); > + > + printf("\n"); > +} > + > Since we need to keep the library pr_stat() for backward compatibility, I rename this to "print_event()" as that's what it was doing locally anyway. Otherwise it conflicted with the old pr_stat() that I added back to libtraceevent. -- Steve