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: Introduce perf_hpp_list__for_each_format macro
[deliverable/linux.git]
/
tools
/
perf
/
ui
/
hist.c
diff --git
a/tools/perf/ui/hist.c
b/tools/perf/ui/hist.c
index 1655c0d9c089490f5654b2fc598e3de0c61561fd..7b5e8cedf853c299032e01272386f1fc8f38544c 100644
(file)
--- a/
tools/perf/ui/hist.c
+++ b/
tools/perf/ui/hist.c
@@
-556,7
+556,7
@@
void perf_hpp__setup_output_field(void)
perf_hpp__for_each_sort_list(fmt) {
struct perf_hpp_fmt *pos;
perf_hpp__for_each_sort_list(fmt) {
struct perf_hpp_fmt *pos;
- perf_hpp_
_for_each_format(
pos) {
+ perf_hpp_
list__for_each_format(&perf_hpp_list,
pos) {
if (fmt_equal(fmt, pos))
goto next;
}
if (fmt_equal(fmt, pos))
goto next;
}
@@
-572,7
+572,7
@@
void perf_hpp__append_sort_keys(void)
struct perf_hpp_fmt *fmt;
/* append output fields to sort keys */
struct perf_hpp_fmt *fmt;
/* append output fields to sort keys */
- perf_hpp_
_for_each_format(
fmt) {
+ perf_hpp_
list__for_each_format(&perf_hpp_list,
fmt) {
struct perf_hpp_fmt *pos;
perf_hpp__for_each_sort_list(pos) {
struct perf_hpp_fmt *pos;
perf_hpp__for_each_sort_list(pos) {
@@
-621,7
+621,7
@@
unsigned int hists__sort_list_width(struct hists *hists)
bool first = true;
struct perf_hpp dummy_hpp;
bool first = true;
struct perf_hpp dummy_hpp;
- perf_hpp_
_for_each_format(
fmt) {
+ perf_hpp_
list__for_each_format(&perf_hpp_list,
fmt) {
if (perf_hpp__should_skip(fmt, hists))
continue;
if (perf_hpp__should_skip(fmt, hists))
continue;
@@
-674,7
+674,7
@@
void perf_hpp__set_user_width(const char *width_list_str)
struct perf_hpp_fmt *fmt;
const char *ptr = width_list_str;
struct perf_hpp_fmt *fmt;
const char *ptr = width_list_str;
- perf_hpp_
_for_each_format(
fmt) {
+ perf_hpp_
list__for_each_format(&perf_hpp_list,
fmt) {
char *p;
int len = strtol(ptr, &p, 10);
char *p;
int len = strtol(ptr, &p, 10);
This page took
0.027298 seconds
and
5
git commands to generate.