perf evlist: Rename for_each() macros to for_each_entry()
[deliverable/linux.git] / tools / perf / tests / hists_filter.c
index e846f8c420136426fae224ce658946923b126f83..62efb14f3a5a7eabb0dfbc7bae31e90276ef9c54 100644 (file)
@@ -56,7 +56,7 @@ static int add_hist_entries(struct perf_evlist *evlist,
         * (perf [perf] main) will be collapsed to an existing entry
         * so total 9 entries will be in the tree.
         */
-       evlist__for_each(evlist, evsel) {
+       evlist__for_each_entry(evlist, evsel) {
                for (i = 0; i < ARRAY_SIZE(fake_samples); i++) {
                        struct hist_entry_iter iter = {
                                .evsel = evsel,
@@ -136,7 +136,7 @@ int test__hists_filter(int subtest __maybe_unused)
        if (err < 0)
                goto out;
 
-       evlist__for_each(evlist, evsel) {
+       evlist__for_each_entry(evlist, evsel) {
                struct hists *hists = evsel__hists(evsel);
 
                hists__collapse_resort(hists, NULL);
This page took 0.02625 seconds and 5 git commands to generate.