Messages in this thread | | | From | Ramkumar Ramachandra <> | Date | Tue, 18 Mar 2014 12:40:23 -0400 | Subject | Re: [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?
| |