Merge branch 'perf/urgent' into perf/core
Conflicts: tools/perf/builtin-record.c tools/perf/builtin-top.c tools/perf/util/hist.h
This commit is contained in:
@@ -87,10 +87,10 @@ int test__task_exit(void)
|
||||
|
||||
retry:
|
||||
while ((event = perf_evlist__mmap_read(evlist, 0)) != NULL) {
|
||||
if (event->header.type != PERF_RECORD_EXIT)
|
||||
continue;
|
||||
if (event->header.type == PERF_RECORD_EXIT)
|
||||
nr_exit++;
|
||||
|
||||
nr_exit++;
|
||||
perf_evlist__mmap_consume(evlist, 0);
|
||||
}
|
||||
|
||||
if (!exited || !nr_exit) {
|
||||
|
||||
Reference in New Issue
Block a user