Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753978AbbBJJTi (ORCPT ); Tue, 10 Feb 2015 04:19:38 -0500 Received: from mail9.hitachi.co.jp ([133.145.228.44]:45751 "EHLO mail9.hitachi.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753731AbbBJJTe (ORCPT ); Tue, 10 Feb 2015 04:19:34 -0500 X-AuditID: 85900ec0-bfcf5b9000002d32-96-54d9ccf0f5c5 Subject: [perf/core PATCH v2 0/4] perf-buildid-cache: Cleanup, enhance --update and add --remove-all From: Masami Hiramatsu To: Arnaldo Carvalho de Melo Cc: Peter Zijlstra , Adrian Hunter , linux-kernel@vger.kernel.org, Ingo Molnar , Paul Mackerras , Jiri Olsa , Namhyung Kim , Borislav Petkov , Hemant Kumar Date: Tue, 10 Feb 2015 18:18:49 +0900 Message-ID: <20150210091849.19264.63698.stgit@localhost.localdomain> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: AAAAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1494 Lines: 41 Hi, Here is the 2nd version of of perf buildid-cache update. I've fixed a bug in patch 4/4 reported by Namhyung, Thanks! The first 2 patches are cleanup code, just reducing the redundant code. The 3rd one modifies --update option not to fail but just add new binary if there is no cache entry which has same build-id of given binary. The 4th one adds --remove-all option which allows us to cleanup all caches which related to given path. Thank you, --- Masami Hiramatsu (4): perf-buildid-cache: Remove unneeded debugdir parameters perf buildid-cache: Consolidate .build-id cache path generators perf buildid-cache: Add new buildid cache if update target is not cached perf buildid-cache: Add --remove-all FILE to remove all caches of FILE tools/perf/Documentation/perf-buildid-cache.txt | 8 + tools/perf/builtin-buildid-cache.c | 85 ++++++++-- tools/perf/util/build-id.c | 189 +++++++++++++++++------ tools/perf/util/build-id.h | 6 - 4 files changed, 210 insertions(+), 78 deletions(-) -- Masami HIRAMATSU Software Platform Research Dpt. Linux Technology Center Hitachi, Ltd., Yokohama Research Laboratory E-mail: masami.hiramatsu.pt@hitachi.com -- 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/