OSDN Git Service

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)
commit363afa3aef24f5e08df6a539f5dc3aae4cddcc1a
tree88d79f932f39d6130b1d14ada494763e2a05a136
parent5eb502b2e1ae1ab052cdf6bdd7615217e8517360
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