Re: [PATCH v4 0/6] Micro-optimize vclock_gettime

From: Ingo Molnar
Date: Tue May 17 2011 - 03:56:59 EST



* Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:

> > And unless you or someone else changes the primitive state of the
> > kernel, framepointers are going to stay simply because removing them
> > breaks profiling backtraces when the hit is inside vread().
>
> This doesn't work anyways because the glibc stub code calling vgettimeofday
> normally doesn't set up a frame pointer frame.

But we at least get a callchain back to that point.

Also, Thomas's point remains: you can whine about framepointers and you can try
to slowly sabotage proper backtraces (nasty and sleazy tactic you are using
there btw), or you can help out bring sane dwarf support to the kernel.

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/