From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754047AbbEUHGv (ORCPT ); Thu, 21 May 2015 03:06:51 -0400 Received: from mga03.intel.com ([134.134.136.65]:17475 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753538AbbEUHGt (ORCPT ); Thu, 21 May 2015 03:06:49 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.13,466,1427785200"; d="scan'208";a="729453431" Message-ID: <555D8357.1090105@intel.com> Date: Thu, 21 May 2015 10:03:51 +0300 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.6.0 MIME-Version: 1.0 To: Namhyung Kim , Arnaldo Carvalho de Melo CC: Ingo Molnar , Peter Zijlstra , Jiri Olsa , LKML , David Ahern Subject: Re: [PATCH v2 2/3] perf tools: Get rid of dso__data_fd() from dso__data_size() References: <1432137821-10853-1-git-send-email-namhyung@kernel.org> <1432137821-10853-2-git-send-email-namhyung@kernel.org> In-Reply-To: <1432137821-10853-2-git-send-email-namhyung@kernel.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20/05/15 19:03, Namhyung Kim wrote: > It seems that the dso__data_fd() was needed to find a binary type > since open in data_file_size() alone used to fail. But as it can open > the dso fine now, the dso__data_fd() can go away. > > Cc: Adrian Hunter > Signed-off-by: Namhyung Kim Acked-by: Adrian Hunter