| Subject | Re: [RFC][PATCH 2/3] perf: Take a hot regs snapshot for trace events | From | Peter Zijlstra <> | Date | Wed, 03 Mar 2010 09:38:49 +0100 |
| |
On Wed, 2010-03-03 at 07:55 +0100, Frederic Weisbecker wrote: > /* > + * Hot regs snapshot support -- arch specific > + * This needs to be a macro because we want the current > + * frame pointer. > + */ > +#ifndef PERF_SAVE_REGS > +#define PERF_SAVE_REGS(regs) memset(regs, 0, sizeof(*regs)); > +#endif
It would be nice to have the fallback at least set the current or calling IP, now you've basically wrecked stuff for everything !x86.
|