From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751312AbaKCHwl (ORCPT ); Mon, 3 Nov 2014 02:52:41 -0500 Received: from mga01.intel.com ([192.55.52.88]:30983 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751106AbaKCHwi (ORCPT ); Mon, 3 Nov 2014 02:52:38 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.07,305,1413270000"; d="scan'208";a="615866428" Message-ID: <545733E7.6010105@intel.com> Date: Mon, 03 Nov 2014 09:51:03 +0200 From: Adrian Hunter Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: Namhyung Kim CC: Arnaldo Carvalho de Melo , Peter Zijlstra , Ingo Molnar , Paul Mackerras , Namhyung Kim , LKML , Jiri Olsa , David Ahern , Stephane Eranian Subject: Re: [PATCH 3/8] perf tools: Get rid of unused dsos__hit_all() References: <1414999678-31377-1-git-send-email-namhyung@kernel.org> <1414999678-31377-4-git-send-email-namhyung@kernel.org> <5457305B.9080404@intel.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/11/14 09:39, Namhyung Kim wrote: > Hi Adrian, > > On Mon, Nov 3, 2014 at 4:35 PM, Adrian Hunter wrote: >> On 03/11/14 09:27, Namhyung Kim wrote: >>> The dsos__hit_all() and its friends are not used anywhere. Let's get >>> rid of them. >> >> They were added for Intel PT preparation. Intel PT is still on its way, >> so they are still needed. Note the commit was: >> >> commit 1f625b0b3dd641b74ba21640a1fea19a3dd893a2 >> Author: Adrian Hunter >> Date: Tue Jul 22 16:17:23 2014 +0300 >> >> perf tools: Add dsos__hit_all() >> >> Add ability to mark all dsos as hit. >> >> This is needed in the case of Instruction Tracing. It takes so long to >> decode an Instruction Trace that it is not worth doing just to determine >> which dsos are hit. A later patch takes this into use. > > Oops, didn't notice. Sorry for not checking the commit log. So how > about moving it into util/build-id.c then? OK by me.