Thread (8 messages) 8 messages, 3 authors, 2012-07-09

Re: [PATCH 4/4] powerpc/perf: Use perf_instruction_pointer in callchains

flat view

From: Scott Wood <hidden>
Date: 2012-06-27 15:03:57

On 06/26/2012 10:59 PM, Anton Blanchard wrote:
Hi Scott,
quoted
Won't this break core-fsl-emb, which doesn't define
perf_instruction_pointer()?
It links ok for me. You should get the default version:

#ifndef perf_misc_flags
# define perf_misc_flags(regs) \
                (user_mode(regs) ? PERF_RECORD_MISC_USER : PERF_RECORD_MISC_KERNEL)
# define perf_instruction_pointer(regs) instruction_pointer(regs)
#endif
OK, sorry -- forgot to grep outside arch/powerpc. :-)

-Scott
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help