diff options
Diffstat (limited to 'tools/perf/ui/hist.c')
-rw-r--r-- | tools/perf/ui/hist.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/ui/hist.c b/tools/perf/ui/hist.c index 30457c65980c..b47fafc8ee2a 100644 --- a/tools/perf/ui/hist.c +++ b/tools/perf/ui/hist.c | |||
@@ -230,7 +230,8 @@ static int hpp__width_fn(struct perf_hpp_fmt *fmt, | |||
230 | } | 230 | } |
231 | 231 | ||
232 | static int hpp__header_fn(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, | 232 | static int hpp__header_fn(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp, |
233 | struct hists *hists, int line __maybe_unused) | 233 | struct hists *hists, int line __maybe_unused, |
234 | int *span __maybe_unused) | ||
234 | { | 235 | { |
235 | int len = hpp__width_fn(fmt, hpp, hists); | 236 | int len = hpp__width_fn(fmt, hpp, hists); |
236 | return scnprintf(hpp->buf, hpp->size, "%*s", len, fmt->name); | 237 | return scnprintf(hpp->buf, hpp->size, "%*s", len, fmt->name); |