Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1311395
| From | Jiri Olsa <jolsa@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 10/26] perf tools: Remove perf_hpp__column_(disable|enable) |
| Date | 2016-01-18 10:30 +0100 |
| Message-ID | <qSeil-73y-9@gated-at.bofh.it> (permalink) |
| References | <qSeil-73y-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Those functions are no longer needed. They operate
over perf_hpp__format array which is now used only
as template for dynamic entries.
Link: http://lkml.kernel.org/n/tip-k893o732njrt4hiiz7jplwwp@git.kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
---
tools/perf/ui/hist.c | 12 ------------
tools/perf/util/hist.h | 2 --
2 files changed, 14 deletions(-)
diff --git a/tools/perf/ui/hist.c b/tools/perf/ui/hist.c
index c877c52ff4bc..80d63a997287 100644
--- a/tools/perf/ui/hist.c
+++ b/tools/perf/ui/hist.c
@@ -519,18 +519,6 @@ void perf_hpp__register_sort_field(struct perf_hpp_fmt *format)
list_add_tail(&format->sort_list, &perf_hpp__sort_list);
}
-void perf_hpp__column_enable(unsigned col)
-{
- BUG_ON(col >= PERF_HPP__MAX_INDEX);
- perf_hpp__column_register(&perf_hpp__format[col]);
-}
-
-void perf_hpp__column_disable(unsigned col)
-{
- BUG_ON(col >= PERF_HPP__MAX_INDEX);
- perf_hpp__column_unregister(&perf_hpp__format[col]);
-}
-
void perf_hpp__cancel_cumulate(void)
{
struct perf_hpp_fmt *fmt, *acc, *ovh, *tmp;
diff --git a/tools/perf/util/hist.h b/tools/perf/util/hist.h
index 9a240d7b8d3b..1f9e21dd53f3 100644
--- a/tools/perf/util/hist.h
+++ b/tools/perf/util/hist.h
@@ -259,8 +259,6 @@ enum {
void perf_hpp__init(void);
void perf_hpp__column_register(struct perf_hpp_fmt *format);
void perf_hpp__column_unregister(struct perf_hpp_fmt *format);
-void perf_hpp__column_enable(unsigned col);
-void perf_hpp__column_disable(unsigned col);
void perf_hpp__cancel_cumulate(void);
void perf_hpp__register_sort_field(struct perf_hpp_fmt *format);
--
2.4.3
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH 10/26] perf tools: Remove perf_hpp__column_(disable|enable) Jiri Olsa <jolsa@kernel.org> - 2016-01-18 10:30 +0100
csiph-web