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

From: Peter Zijlstra
Date: Wed Jun 17 2009 - 03:29:21 EST


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[];
> > +};

--
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/