Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1366804
| From | Arnaldo Carvalho de Melo <acme@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 02/11] perf tools: Make hists__collapse_insert_entry static |
| Date | 2016-03-30 01:50 +0200 |
| Message-ID | <ribyy-57X-15@gated-at.bofh.it> (permalink) |
| References | <ribyx-57X-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Jiri Olsa <jolsa@kernel.org>
No need to export hists__collapse_insert_entry function.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1458823940-24583-4-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
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 31c4641fe5ff..3d34c57dfbe2 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 bec0cd660fbd..588596561cb3 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;
--
2.5.5
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[GIT PULL 00/11] perf/core improvements and fixes Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-03-30 01:50 +0200
[PATCH 09/11] perf tools: Add support for skipping itrace instructions Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-03-30 01:50 +0200
[PATCH 08/11] perf script perl: Perl scripts now get a backtrace, like the python ones Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-03-30 01:50 +0200
[PATCH 01/11] perf mem: Add -U/-K (--all-user/--all-kernel) options Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-03-30 01:50 +0200
[PATCH 05/11] perf config: Remove duplicated set_buildid_dir calls Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-03-30 01:50 +0200
[PATCH 11/11] perf script: Add support for printing assembler Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-03-30 01:50 +0200
[PATCH 02/11] perf tools: Make hists__collapse_insert_entry static Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-03-30 01:50 +0200
[PATCH 07/11] perf config: Rename 'v' to 'home' in set_buildid_dir() Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-03-30 01:50 +0200
[PATCH 03/11] perf tools: Make -f/--force option documentation consistent across tools Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-03-30 01:50 +0200
[PATCH 10/11] perf tools: Add probing for udev86 library Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-03-30 01:50 +0200
Re: [PATCH 10/11] perf tools: Add probing for udev86 library Ingo Molnar <mingo@kernel.org> - 2016-03-30 12:50 +0200
Re: [PATCH 10/11] perf tools: Add probing for udev86 library Arnaldo Carvalho de Melo <acme@redhat.com> - 2016-03-30 15:40 +0200
Re: [PATCH 10/11] perf tools: Add probing for udev86 library Ingo Molnar <mingo@kernel.org> - 2016-03-30 16:00 +0200
Re: [PATCH 10/11] perf tools: Add probing for udev86 library Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-03-30 16:20 +0200
Re: [PATCH 10/11] perf tools: Add probing for udev86 library Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-03-30 16:50 +0200
Re: [PATCH 10/11] perf tools: Add probing for udev86 library Ingo Molnar <mingo@kernel.org> - 2016-03-31 08:40 +0200
Re: [PATCH 10/11] perf tools: Add probing for udev86 library Andi Kleen <ak@linux.intel.com> - 2016-03-30 17:10 +0200
Re: [PATCH 10/11] perf tools: Add probing for udev86 library Ingo Molnar <mingo@kernel.org> - 2016-03-31 09:00 +0200
Re: [PATCH 10/11] perf tools: Add probing for udev86 library Andi Kleen <ak@linux.intel.com> - 2016-03-30 16:50 +0200
[PATCH 06/11] perf config: Rework buildid_dir_command_config to perf_buildid_config Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-03-30 01:50 +0200
[PATCH 04/11] perf tests: Add test to check for event times Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-03-30 01:50 +0200
csiph-web