projects
/
deliverable
/
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
[deliverable/linux.git]
/
tools
/
perf
/
util
/
sort.c
diff --git
a/tools/perf/util/sort.c
b/tools/perf/util/sort.c
index c4e9bd70723c5b26df4499af5d32afdb86109c31..3e52c77981e3885d478b3cd63eafc0a73fda67f0 100644
(file)
--- a/
tools/perf/util/sort.c
+++ b/
tools/perf/util/sort.c
@@
-1218,7
+1218,7
@@
struct sort_entry sort_mem_daddr_dso = {
.se_header = "Data Object",
.se_cmp = sort__dso_daddr_cmp,
.se_snprintf = hist_entry__dso_daddr_snprintf,
.se_header = "Data Object",
.se_cmp = sort__dso_daddr_cmp,
.se_snprintf = hist_entry__dso_daddr_snprintf,
- .se_width_idx = HISTC_MEM_DADDR_
SYMBOL
,
+ .se_width_idx = HISTC_MEM_DADDR_
DSO
,
};
struct sort_entry sort_mem_locked = {
};
struct sort_entry sort_mem_locked = {
@@
-1488,7
+1488,7
@@
void perf_hpp__reset_sort_width(struct perf_hpp_fmt *fmt, struct hists *hists)
}
static int __sort__hpp_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
}
static int __sort__hpp_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
- struct
perf_evsel *evsel
)
+ struct
hists *hists
)
{
struct hpp_sort_entry *hse;
size_t len = fmt->user_len;
{
struct hpp_sort_entry *hse;
size_t len = fmt->user_len;
@@
-1496,7
+1496,7
@@
static int __sort__hpp_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
hse = container_of(fmt, struct hpp_sort_entry, hpp);
if (!len)
hse = container_of(fmt, struct hpp_sort_entry, hpp);
if (!len)
- len = hists__col_len(
evsel__hists(evsel)
, hse->se->se_width_idx);
+ len = hists__col_len(
hists
, hse->se->se_width_idx);
return scnprintf(hpp->buf, hpp->size, "%-*.*s", len, len, fmt->name);
}
return scnprintf(hpp->buf, hpp->size, "%-*.*s", len, len, fmt->name);
}
@@
-1793,7
+1793,7
@@
static void update_dynamic_len(struct hpp_dynamic_entry *hde,
}
static int __sort__hde_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
}
static int __sort__hde_header(struct perf_hpp_fmt *fmt, struct perf_hpp *hpp,
- struct
perf_evsel *evsel
__maybe_unused)
+ struct
hists *hists
__maybe_unused)
{
struct hpp_dynamic_entry *hde;
size_t len = fmt->user_len;
{
struct hpp_dynamic_entry *hde;
size_t len = fmt->user_len;
This page took
0.038758 seconds
and
5
git commands to generate.