diff options
author | Namhyung Kim <namhyung@kernel.org> | 2014-03-18 00:00:59 -0400 |
---|---|---|
committer | Jiri Olsa <jolsa@kernel.org> | 2014-05-21 05:45:36 -0400 |
commit | e67d49a72df9aa50841ad400f7a99405e4980ee4 (patch) | |
tree | 4983f50b79df146a310d3ef1b9bdfa7e2f73aae1 /tools/perf/ui/gtk/hists.c | |
parent | 6fe8c26d7ab9fbd6748fc40ca5fea1e3131e7236 (diff) |
perf tools: Skip elided sort entries
When it converted sort entries to hpp formats, it missed se->elide
handling, so add it for compatibility.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/1400480762-22852-16-git-send-email-namhyung@kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Diffstat (limited to 'tools/perf/ui/gtk/hists.c')
-rw-r--r-- | tools/perf/ui/gtk/hists.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/perf/ui/gtk/hists.c b/tools/perf/ui/gtk/hists.c index fd52669018ee..9d90683914d4 100644 --- a/tools/perf/ui/gtk/hists.c +++ b/tools/perf/ui/gtk/hists.c | |||
@@ -178,6 +178,9 @@ static void perf_gtk__show_hists(GtkWidget *window, struct hists *hists, | |||
178 | col_idx = 0; | 178 | col_idx = 0; |
179 | 179 | ||
180 | perf_hpp__for_each_format(fmt) { | 180 | perf_hpp__for_each_format(fmt) { |
181 | if (perf_hpp__should_skip(fmt)) | ||
182 | continue; | ||
183 | |||
181 | fmt->header(fmt, &hpp, hists_to_evsel(hists)); | 184 | fmt->header(fmt, &hpp, hists_to_evsel(hists)); |
182 | 185 | ||
183 | gtk_tree_view_insert_column_with_attributes(GTK_TREE_VIEW(view), | 186 | gtk_tree_view_insert_column_with_attributes(GTK_TREE_VIEW(view), |
@@ -222,6 +225,9 @@ static void perf_gtk__show_hists(GtkWidget *window, struct hists *hists, | |||
222 | col_idx = 0; | 225 | col_idx = 0; |
223 | 226 | ||
224 | perf_hpp__for_each_format(fmt) { | 227 | perf_hpp__for_each_format(fmt) { |
228 | if (perf_hpp__should_skip(fmt)) | ||
229 | continue; | ||
230 | |||
225 | if (fmt->color) | 231 | if (fmt->color) |
226 | fmt->color(fmt, &hpp, h); | 232 | fmt->color(fmt, &hpp, h); |
227 | else | 233 | else |