Re: [patch, resend] perf: export struct perf_branch_entry to userspace

2013-08-26 Thread Peter Zijlstra
On Mon, Aug 26, 2013 at 11:31:11AM +0200, Stephane Eranian wrote: > On Fri, Aug 23, 2013 at 9:51 PM, Vince Weaver > wrote: > > > > On Mon, 8 Jul 2013, Vince Weaver wrote: > > > > If PERF_SAMPLE_BRANCH_STACK is enabled then samples are returned > > with the format { u64 from, to, flags } but the f

Re: [patch, resend] perf: export struct perf_branch_entry to userspace

2013-08-26 Thread Stephane Eranian
On Fri, Aug 23, 2013 at 9:51 PM, Vince Weaver wrote: > > On Mon, 8 Jul 2013, Vince Weaver wrote: > > If PERF_SAMPLE_BRANCH_STACK is enabled then samples are returned > with the format { u64 from, to, flags } but the flags layout > is not specified. > > This field has the type struct perf_branch_en

[patch, resend] perf: export struct perf_branch_entry to userspace

2013-08-23 Thread Vince Weaver
On Mon, 8 Jul 2013, Vince Weaver wrote: If PERF_SAMPLE_BRANCH_STACK is enabled then samples are returned with the format { u64 from, to, flags } but the flags layout is not specified. This field has the type struct perf_branch_entry; move this definition into include/uapi/linux/perf_event.h so us