aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/sort.h
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2015-10-06 14:25:11 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2015-10-06 18:04:59 -0300
commitbeeaaeb3684d97e89548c1b6b6275329214014df (patch)
tree8d552c44edc91739213ddb42deabff9376b07d89 /tools/perf/util/sort.h
parentperf tools: Get rid of superfluos call to reset_dimensions (diff)
downloadlinux-dev-beeaaeb3684d97e89548c1b6b6275329214014df.tar.xz
linux-dev-beeaaeb3684d97e89548c1b6b6275329214014df.zip
perf tools: Introduce hpp_dimension__add_output function
This function will allow to register output column from ui code and respect taken sort/output dimensions. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Acked-by: Namhyung Kim <namhyung@kernel.org> Cc: David Ahern <dsahern@gmail.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1444134312-29136-3-git-send-email-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/sort.h')
-rw-r--r--tools/perf/util/sort.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/perf/util/sort.h b/tools/perf/util/sort.h
index 33b3d30e18d3..31228851e397 100644
--- a/tools/perf/util/sort.h
+++ b/tools/perf/util/sort.h
@@ -234,4 +234,6 @@ void perf_hpp__set_elide(int idx, bool elide);
int report_parse_ignore_callees_opt(const struct option *opt, const char *arg, int unset);
bool is_strict_order(const char *order);
+
+int hpp_dimension__add_output(unsigned col);
#endif /* __PERF_SORT_H */