[lkml]   [2013]   [Nov]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [patch] perf/trace properly use u64 to hold event_id
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
> it was possible to create valid aliases for all the tracepoint ids
> which I don't think was intended. (For example, 0xffffffff00000018
> and 0x18 both enable the same tracepoint).
> Signed-off-by: Vince Weaver <>


 \ /
  Last update: 2013-11-18 10:41    [W:0.168 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site