projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
perf hists: Replace perf_evsel arg perf_hpp_fmt's header callback
[cascardo/linux.git]
/
tools
/
perf
/
ui
/
hist.c
diff --git
a/tools/perf/ui/hist.c
b/tools/perf/ui/hist.c
index
af07ffb
..
0b232d6
100644
(file)
--- a/
tools/perf/ui/hist.c
+++ b/
tools/perf/ui/hist.c
@@
-229,9
+229,9
@@
static int hpp__width_fn(struct perf_hpp_fmt *fmt,
}
static int hpp__header_fn(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
}
static int hpp__header_fn(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
- struct
perf_evsel *evsel
)
+ struct
hists *hists
)
{
{
- int len = hpp__width_fn(fmt, hpp,
evsel
);
+ int len = hpp__width_fn(fmt, hpp,
hists_to_evsel(hists)
);
return scnprintf(hpp->buf, hpp->size, "%*s", len, fmt->name);
}
return scnprintf(hpp->buf, hpp->size, "%*s", len, fmt->name);
}