]> git.baikalelectronics.ru Git - kernel.git/commit
perf synthetic-events: Don't sort the task scan result from /proc
authorNamhyung Kim <namhyung@kernel.org>
Fri, 1 Jul 2022 20:54:57 +0000 (13:54 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sat, 2 Jul 2022 12:21:41 +0000 (09:21 -0300)
commit3ab0929f5b3292092aad91c83350416fea746450
tree88d79f932f39d6130b1d14ada494763e2a05a136
parent9398f5b5eebc21ccdf7bba23ce3e6ed5a4eb5170
perf synthetic-events: Don't sort the task scan result from /proc

It should not sort the result as procfs already returns a proper
ordering of tasks.  Actually sorting the order caused problems that it
doesn't guararantee to process the main thread first.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Acked-by: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/20220701205458.985106-1-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/synthetic-events.c