Re: [patch] perf/trace properly use u64 to hold event_id

2013-11-18 Thread Peter Zijlstra
On Fri, Nov 15, 2013 at 12:39:45PM -0500, Vince Weaver wrote: > > The 64-bit attr.config value for perf trace events was being copied into > an "int" before doing a comparison, meaning the top 32 bits were > being truncated. > > As far as I can tell this didn't cause any errors, but it did mean >

[patch] perf/trace properly use u64 to hold event_id

2013-11-15 Thread Vince Weaver
The 64-bit attr.config value for perf trace events was being copied into an "int" before doing a comparison, meaning the top 32 bits were being truncated. As far as I can tell this didn't cause any errors, but it did mean it was possible to create valid aliases for all the tracepoint ids which I