Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934673AbbGHOsV (ORCPT ); Wed, 8 Jul 2015 10:48:21 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33572 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932383AbbGHOsU (ORCPT ); Wed, 8 Jul 2015 10:48:20 -0400 Date: Wed, 8 Jul 2015 16:48:15 +0200 From: Jiri Olsa To: kan.liang@intel.com Cc: acme@kernel.org, jolsa@kernel.org, namhyung@kernel.org, ak@linux.intel.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH RFC V2 3/5] perf,tool: partial time support Message-ID: <20150708144815.GB13619@krava.redhat.com> References: <1436264345-12085-1-git-send-email-kan.liang@intel.com> <1436264345-12085-4-git-send-email-kan.liang@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1436264345-12085-4-git-send-email-kan.liang@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1167 Lines: 34 On Tue, Jul 07, 2015 at 06:19:03AM -0400, kan.liang@intel.com wrote: SNIP > > @@ -705,13 +732,14 @@ void perf_evsel__config(struct perf_evsel *evsel, struct record_opts *opts) > /* > * When the user explicitely disabled time don't force it here. > */ > - if (opts->sample_time && > + if (sample_time && > (!perf_missing_features.sample_id_all && > (!opts->no_inherit || target__has_cpu(&opts->target) || per_cpu))) > perf_evsel__set_sample_bit(evsel, TIME); > > if (opts->raw_samples && !evsel->no_aux_samples) { > - perf_evsel__set_sample_bit(evsel, TIME); > + if (sample_time) > + perf_evsel__set_sample_bit(evsel, TIME); > perf_evsel__set_sample_bit(evsel, RAW); > perf_evsel__set_sample_bit(evsel, CPU); these bits no longer apply due to: 3abebc55d70b perf record: Let user have timestamps with per-thread recording please rebase to latest acme's perf/core thanks, jirka -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/