lkml.org 
[lkml]   [2014]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH 5/5] perf test: squelch warnings about undefined sizeof
Jiri Olsa wrote:
>> > 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 ;-)

It only seems to be used by xen:

Warning: [xen:xen_mmu_set_pte] function sizeof not defined
Warning: [xen:xen_mmu_set_pte_atomic] function sizeof not defined
Warning: [xen:xen_mmu_set_domain_pte] function sizeof not defined
Warning: [xen:xen_mmu_set_pte_at] function sizeof not defined
Warning: [xen:xen_mmu_set_pmd] function sizeof not defined
Warning: [xen:xen_mmu_set_pud] function sizeof not defined
Warning: [xen:xen_mmu_set_pgd] function sizeof not defined
Warning: [xen:xen_mmu_ptep_modify_prot_start] function sizeof not defined
Warning: [xen:xen_mmu_ptep_modify_prot_commit] function sizeof not defined

These events are defined in include/trace/events/xen.h. Any hints on
how to proceed?


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