]> 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)
commit9d830437dc609d6905674a1f8269adc3c0c7b092
tree88d79f932f39d6130b1d14ada494763e2a05a136
parent6c9f425d1a2719fb8051be1d6cc351451d674e4b
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