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: Move sort__has_comm into struct perf_hpp_list
[cascardo/linux.git]
/
tools
/
perf
/
util
/
hist.h
diff --git
a/tools/perf/util/hist.h
b/tools/perf/util/hist.h
index
bec0cd6
..
0f84bfb
100644
(file)
--- a/
tools/perf/util/hist.h
+++ b/
tools/perf/util/hist.h
@@
-82,6
+82,8
@@
struct hists {
int nr_hpp_node;
};
int nr_hpp_node;
};
+#define hists__has(__h, __f) (__h)->hpp_list->__f
+
struct hist_entry_iter;
struct hist_iter_ops {
struct hist_entry_iter;
struct hist_iter_ops {
@@
-199,8
+201,6
@@
int hists__init(void);
int __hists__init(struct hists *hists, struct perf_hpp_list *hpp_list);
struct rb_root *hists__get_rotate_entries_in(struct hists *hists);
int __hists__init(struct hists *hists, struct perf_hpp_list *hpp_list);
struct rb_root *hists__get_rotate_entries_in(struct hists *hists);
-int hists__collapse_insert_entry(struct hists *hists,
- struct rb_root *root, struct hist_entry *he);
struct perf_hpp {
char *buf;
struct perf_hpp {
char *buf;
@@
-240,6
+240,14
@@
struct perf_hpp_fmt {
struct perf_hpp_list {
struct list_head fields;
struct list_head sorts;
struct perf_hpp_list {
struct list_head fields;
struct list_head sorts;
+
+ int need_collapse;
+ int parent;
+ int sym;
+ int dso;
+ int socket;
+ int thread;
+ int comm;
};
extern struct perf_hpp_list perf_hpp_list;
};
extern struct perf_hpp_list perf_hpp_list;