Message ID | 20210514121826.161749-8-y.karadz@gmail.com (mailing list archive) |
---|---|
State | Superseded |
Headers | show |
Series | Final fixes before KS 2.0 | expand |
On Fri, 14 May 2021 15:18:26 +0300 "Yordan Karadzhov (VMware)" <y.karadz@gmail.com> wrote: > All those warning messages are not really relevant for the users > of the GUI. > > Signed-off-by: Yordan Karadzhov (VMware) <y.karadz@gmail.com> > --- > src/libkshark-tepdata.c | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/src/libkshark-tepdata.c b/src/libkshark-tepdata.c > index 4a84141..323383f 100644 > --- a/src/libkshark-tepdata.c > +++ b/src/libkshark-tepdata.c > @@ -45,6 +45,14 @@ static bool init_thread_seq(void) > return seq.buffer != NULL; > } > > +//! @cond Doxygen_Suppress > + > +void tep_warning(const char *fmt, ...) {} > + > +void pr_stat(const char *fmt, ...) {} > + > +//! @endcond > + > /** Structure for handling all unique attributes of the FTRACE data. */ > struct tepdata_handle { > /** Page event used to parse the page. */ We released libtraceevent 1.3 that has the new logging by Tzvetomir. You can set it to be quiet without the need to redefine these functions (which have also been labeled as deprecated). -- Steve
diff --git a/src/libkshark-tepdata.c b/src/libkshark-tepdata.c index 4a84141..323383f 100644 --- a/src/libkshark-tepdata.c +++ b/src/libkshark-tepdata.c @@ -45,6 +45,14 @@ static bool init_thread_seq(void) return seq.buffer != NULL; } +//! @cond Doxygen_Suppress + +void tep_warning(const char *fmt, ...) {} + +void pr_stat(const char *fmt, ...) {} + +//! @endcond + /** Structure for handling all unique attributes of the FTRACE data. */ struct tepdata_handle { /** Page event used to parse the page. */
All those warning messages are not really relevant for the users of the GUI. Signed-off-by: Yordan Karadzhov (VMware) <y.karadz@gmail.com> --- src/libkshark-tepdata.c | 8 ++++++++ 1 file changed, 8 insertions(+)