From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752736AbbC3BA0 (ORCPT ); Sun, 29 Mar 2015 21:00:26 -0400 Received: from mail-ig0-f182.google.com ([209.85.213.182]:34078 "EHLO mail-ig0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752689AbbC3BAV (ORCPT ); Sun, 29 Mar 2015 21:00:21 -0400 Message-ID: <5518A023.1040300@gmail.com> Date: Sun, 29 Mar 2015 19:00:19 -0600 From: David Ahern User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Peter Zijlstra , Stephane Eranian CC: 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 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> In-Reply-To: <20150328075549.GG27490@worktop.programming.kicks-ass.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Perhaps a better question is what tree has all of the kernel side patches? David