]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - tools/perf/builtin-evlist.c
perf evlist: Rename for_each() macros to for_each_entry()
[mirror_ubuntu-artful-kernel.git] / tools / perf / builtin-evlist.c
index 8a31f511e1a0d79b9784387fa7b01db42ac3094e..e09c4287fe87435d200e20f9f216de9aa71129c7 100644 (file)
@@ -32,7 +32,7 @@ static int __cmd_evlist(const char *file_name, struct perf_attr_details *details
        if (session == NULL)
                return -1;
 
-       evlist__for_each(session->evlist, pos) {
+       evlist__for_each_entry(session->evlist, pos) {
                perf_evsel__fprintf(pos, details, stdout);
 
                if (pos->attr.type == PERF_TYPE_TRACEPOINT)