lkml.org 
[lkml]   [2015]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] perf, record: Add clockid parameter
On Tue, Apr 07, 2015 at 05:48:51PM +0200, Peter Zijlstra wrote:
> On Tue, Apr 07, 2015 at 11:09:53AM +0200, Peter Zijlstra wrote:
> > @@ -739,6 +813,7 @@ static struct record record = {
> > .uses_mmap = true,
> > .default_per_cpu = true,
> > },
> > + .clockid = -1,
> > },
>
> As spotted by dahern this is not working well for all other record_opts
> instances, fix that by adding a use_clockid field just like
> perf_event_attr has.

hum, havent realized that.. I saw Arnaldo already included
this one in pull req., anyway FWIW it looks ok ;-)

jirka


\
 
 \ /
  Last update: 2015-04-07 20:01    [W:0.153 / U:0.612 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site