lkml.org 
[lkml]   [2014]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 02/27] perf tools: Fix jump label always changing during tracing
On Fri, Jul 25, 2014 at 12:36:44PM -0300, Arnaldo Carvalho de Melo wrote:
> From: Adrian Hunter <adrian.hunter@intel.com>
>
> Intel PT decoding walks the object code to reconstruct the trace. A
> jump label change during tracing causes decoding errors.
>
> The "Enable close-on-exec flag on perf file descriptor" patch caused
> there to be always a jump label change.
>
> It was found that using a per-cpu context instead of a per-thread
> context for the probe of the close-on-exec feature, made the problem go
> away.

per-cpu events are privileged, wouldn't this change make CLOEXEC always
undetected for normal users?

Also, the $subject doesn't related to CLOEXEC at all.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2014-07-28 10:01    [W:0.242 / U:0.724 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site