]> git.baikalelectronics.ru Git - kernel.git/commit
perf script: No need to lookup thread twice
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 1 Apr 2015 16:26:45 +0000 (13:26 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 2 Apr 2015 16:18:21 +0000 (13:18 -0300)
commitfa8597534f552ce089905d2ecf4dfc2378c1154a
tree963194208e0556db62f52c25d0dac90e2c219674
parent6fa729464f859f1dbb1b98462231bef3fb77e389
perf script: No need to lookup thread twice

We get the thread when we call perf_event__preprocess_sample(), no need
to do it before that.

Acked-by: Jiri Olsa <jolsa@redhat.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1427906210-10519-2-git-send-email-acme@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-script.c