From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756110AbcCaGwS (ORCPT ); Thu, 31 Mar 2016 02:52:18 -0400 Received: from terminus.zytor.com ([198.137.202.10]:34658 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751756AbcCaGwQ (ORCPT ); Thu, 31 Mar 2016 02:52:16 -0400 Date: Wed, 30 Mar 2016 23:52:01 -0700 From: tip-bot for Jiri Olsa Message-ID: Cc: namhyung@kernel.org, eranian@google.com, hpa@zytor.com, mingo@kernel.org, tglx@linutronix.de, dsahern@gmail.com, acme@redhat.com, jolsa@kernel.org, ak@linux.intel.com, linux-kernel@vger.kernel.org, a.p.zijlstra@chello.nl Reply-To: dsahern@gmail.com, jolsa@kernel.org, acme@redhat.com, ak@linux.intel.com, linux-kernel@vger.kernel.org, a.p.zijlstra@chello.nl, eranian@google.com, namhyung@kernel.org, mingo@kernel.org, tglx@linutronix.de, hpa@zytor.com In-Reply-To: <1458823940-24583-4-git-send-email-jolsa@kernel.org> References: <1458823940-24583-4-git-send-email-jolsa@kernel.org> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] perf tools: Make hists__collapse_insert_entry static Git-Commit-ID: 592dac6f35cf222a7687d4ff1ea7df0e6ef722e0 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: 592dac6f35cf222a7687d4ff1ea7df0e6ef722e0 Gitweb: http://git.kernel.org/tip/592dac6f35cf222a7687d4ff1ea7df0e6ef722e0 Author: Jiri Olsa AuthorDate: Thu, 24 Mar 2016 13:52:17 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 30 Mar 2016 11:14:07 -0300 perf tools: Make hists__collapse_insert_entry static No need to export hists__collapse_insert_entry function. Signed-off-by: Jiri Olsa Cc: Andi Kleen Cc: David Ahern Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Stephane Eranian Link: http://lkml.kernel.org/r/1458823940-24583-4-git-send-email-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/util/hist.c | 5 +++-- tools/perf/util/hist.h | 2 -- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/tools/perf/util/hist.c b/tools/perf/util/hist.c index 31c4641..3d34c57 100644 --- a/tools/perf/util/hist.c +++ b/tools/perf/util/hist.c @@ -1295,8 +1295,9 @@ static int hists__hierarchy_insert_entry(struct hists *hists, return ret; } -int hists__collapse_insert_entry(struct hists *hists, struct rb_root *root, - struct hist_entry *he) +static int hists__collapse_insert_entry(struct hists *hists, + struct rb_root *root, + struct hist_entry *he) { struct rb_node **p = &root->rb_node; struct rb_node *parent = NULL; diff --git a/tools/perf/util/hist.h b/tools/perf/util/hist.h index bec0cd6..5885965 100644 --- a/tools/perf/util/hist.h +++ b/tools/perf/util/hist.h @@ -199,8 +199,6 @@ int hists__init(void); int __hists__init(struct hists *hists, struct perf_hpp_list *hpp_list); struct rb_root *hists__get_rotate_entries_in(struct hists *hists); -int hists__collapse_insert_entry(struct hists *hists, - struct rb_root *root, struct hist_entry *he); struct perf_hpp { char *buf;