Re: [tip:perfcounters/core] perf record/report: Add call graph / call chain profiling

Peter Zijlstra
2009-06-17T07:29:17Z

On Tue, 2009-06-16 at 04:57 +0200, Frederic Weisbecker wrote:
> > +struct ip_chain_event {
> > + __u16 nr;
>
>
>
> Is it needed to have the nr encoded in the ip_chain?
> We can already find it by doing kernel + user.

strictly speaking: hv+kernel+user
but yeah, we could possibly replace it with another context, guest
perhaps.

suggestions anyone?

>
> > + __u16 hv;
> > + __u16 kernel;
> > + __u16 user;
> > + __u64 ips[];
> > +};