From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753011AbbC3IYs (ORCPT ); Mon, 30 Mar 2015 04:24:48 -0400 Received: from bombadil.infradead.org ([198.137.202.9]:35338 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752744AbbC3IYr (ORCPT ); Mon, 30 Mar 2015 04:24:47 -0400 Date: Mon, 30 Mar 2015 10:24:33 +0200 From: Peter Zijlstra To: David Ahern Cc: Stephane Eranian , Arnaldo Carvalho de Melo , Thomas Gleixner , Jiri Olsa , Linus Torvalds , LKML , John Stultz , "H. Peter Anvin" , Andrew Morton , Ingo Molnar Subject: Re: [PATCH] perf, record: Add clockid parameter Message-ID: <20150330082433.GO23123@twins.programming.kicks-ass.net> References: <20150327143201.GG21418@twins.programming.kicks-ass.net> <55158F25.9040100@gmail.com> <20150327172059.GK23123@twins.programming.kicks-ass.net> <551594DD.7050705@gmail.com> <20150327201534.GD6291@redhat.com> <20150327215942.GL23123@twins.programming.kicks-ass.net> <20150328075549.GG27490@worktop.programming.kicks-ass.net> <5518A023.1040300@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5518A023.1040300@gmail.com> User-Agent: Mutt/1.5.21 (2012-12-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Mar 29, 2015 at 07:00:19PM -0600, David Ahern wrote: > On 3/28/15 1:55 AM, Peter Zijlstra wrote: > >Subject: perf, record: Add clockid parameter > >From: Peter Zijlstra > >Date: Fri, 27 Mar 2015 15:32:01 +0100 > > > >Teach perf-record about the new perf_event_attr::{use_clockid, clockid} > >fields. Add a simple parameter to set the clock (if any) to be used for > >the events to be recorded into the data file. > > > >Since we store the entire perf_event_attr in the EVENT_DESC section we > >also already store the used clockid in the data file. > > > > I am clearly missing some kernel patch to try out this perf patch. I have > the 4 timekeeper ones; none of those modify perf_event code. What other > patches are needed? Was this one (or some variant) accepted: > > https://lkml.org/lkml/2015/2/20/236 http://git.kernel.org/tip/34f439278cef7b1177f8ce24f9fc81dfc6221d3b Jah, I now realize I forgot to post that one, I did post the monotonic_raw nmi patches again, but forgot about this one. > Perhaps a better question is what tree has all of the kernel side patches? tip/master should have it all.