From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752588AbdGAIyH (ORCPT ); Sat, 1 Jul 2017 04:54:07 -0400 Received: from terminus.zytor.com ([65.50.211.136]:34789 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751828AbdGAIyF (ORCPT ); Sat, 1 Jul 2017 04:54:05 -0400 Date: Sat, 1 Jul 2017 01:52:51 -0700 From: tip-bot for Adrian Hunter Message-ID: Cc: adrian.hunter@intel.com, tglx@linutronix.de, mingo@kernel.org, hpa@zytor.com, acme@redhat.com, linux-kernel@vger.kernel.org, ak@linux.intel.com Reply-To: ak@linux.intel.com, linux-kernel@vger.kernel.org, acme@redhat.com, hpa@zytor.com, mingo@kernel.org, tglx@linutronix.de, adrian.hunter@intel.com In-Reply-To: <1495786658-18063-28-git-send-email-adrian.hunter@intel.com> References: <1495786658-18063-28-git-send-email-adrian.hunter@intel.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] perf intel-pt: Remove unused instructions_sample_period Git-Commit-ID: f90d07a9f6d76e46ed99b4103747031394b16dd7 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: f90d07a9f6d76e46ed99b4103747031394b16dd7 Gitweb: http://git.kernel.org/tip/f90d07a9f6d76e46ed99b4103747031394b16dd7 Author: Adrian Hunter AuthorDate: Fri, 26 May 2017 11:17:28 +0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 30 Jun 2017 11:44:33 -0300 perf intel-pt: Remove unused instructions_sample_period Remove unused struct intel_pt member instructions_sample_period. Signed-off-by: Adrian Hunter Cc: Andi Kleen Link: http://lkml.kernel.org/r/1495786658-18063-28-git-send-email-adrian.hunter@intel.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/intel-pt.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/perf/util/intel-pt.c b/tools/perf/util/intel-pt.c index dbff5dc..f8237a0 100644 --- a/tools/perf/util/intel-pt.c +++ b/tools/perf/util/intel-pt.c @@ -81,7 +81,6 @@ struct intel_pt { bool sample_instructions; u64 instructions_sample_type; - u64 instructions_sample_period; u64 instructions_id; bool sample_branches; @@ -1978,7 +1977,6 @@ static int intel_pt_synth_events(struct intel_pt *pt, intel_pt_ns_to_ticks(pt, pt->synth_opts.period); else attr.sample_period = pt->synth_opts.period; - pt->instructions_sample_period = attr.sample_period; if (pt->synth_opts.callchain) attr.sample_type |= PERF_SAMPLE_CALLCHAIN; if (pt->synth_opts.last_branch)