aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/sort.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/sort.c')
-rw-r--r--tools/perf/util/sort.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/perf/util/sort.c b/tools/perf/util/sort.c
index a556de751018..5ae3d32a21d6 100644
--- a/tools/perf/util/sort.c
+++ b/tools/perf/util/sort.c
@@ -1492,7 +1492,8 @@ void perf_hpp__reset_sort_width(struct perf_hpp_fmt *fmt, struct hists *hists)
1492} 1492}
1493 1493
1494static int __sort__hpp_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 1494static int __sort__hpp_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
1495 struct hists *hists, int line __maybe_unused) 1495 struct hists *hists, int line __maybe_unused,
1496 int *span __maybe_unused)
1496{ 1497{
1497 struct hpp_sort_entry *hse; 1498 struct hpp_sort_entry *hse;
1498 size_t len = fmt->user_len; 1499 size_t len = fmt->user_len;
@@ -1798,7 +1799,8 @@ static void update_dynamic_len(struct hpp_dynamic_entry *hde,
1798 1799
1799static int __sort__hde_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, 1800static int __sort__hde_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
1800 struct hists *hists __maybe_unused, 1801 struct hists *hists __maybe_unused,
1801 int line __maybe_unused) 1802 int line __maybe_unused,
1803 int *span __maybe_unused)
1802{ 1804{
1803 struct hpp_dynamic_entry *hde; 1805 struct hpp_dynamic_entry *hde;
1804 size_t len = fmt->user_len; 1806 size_t len = fmt->user_len;