lkml.org 
[lkml]   [2014]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 5/5] perf test: squelch warnings about undefined sizeof
On Tue, Mar 18, 2014 at 05:09:33PM +0900, Namhyung Kim wrote:
> On Mon, 17 Mar 2014 18:26:38 -0400, Ramkumar Ramachandra wrote:
> > perf test emits the following warnings on the parse events test:
> >
> > $ perf test
> > 5: parse events tests
> > Warning: function sizeof not defined
> > Warning: function sizeof not defined
> > Warning: function sizeof not defined
> > Warning: function sizeof not defined
> > Warning: function sizeof not defined
> > Warning: function sizeof not defined
> > Warning: function sizeof not defined
> > Warning: function sizeof not defined
> > ...
> >
> > Squelch the warnings by explicitly ignoring the sizeof function.
>
> It just hides the warning leaving the real problem untouched. If you
> really don't want to see those, I guess installing proper plugin for the
> failing events will help you (in case you didn't).

it wont' help, sizeof is special.. AFAIK we did not figure
out a way to handle that so far

but I think it was used only in one trace subsystem.. maybe we
could replace it and forbid to use it in future ;-)

jirka


\
 
 \ /
  Last update: 2014-03-18 15:01    [W:0.176 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site