perf trace: Do not beautify the 'pid' parameter as a simple integer
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 26 Apr 2016 14:40:17 +0000 (11:40 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 26 Apr 2016 16:14:59 +0000 (13:14 -0300)
commitccd9b2a7f82b069b8e8ac892fd9c1c22e7b11eba
tree1245c6fe604fa0dc2849f865436b30ef6219ea91
parent62de344e4fed23a42048c02dfa841f7d7ce9e88e
perf trace: Do not beautify the 'pid' parameter as a simple integer

Leave it alone so that it ends up assigned to SCA_PID via its type,
'pid_t', that will look up the pid on the machine thread rb_tree and
possibly find its COMM.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Milian Wolff <milian.wolff@kdab.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-r7dujgmhtxxfajuunpt1bkuo@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-trace.c