perf tools: Fix --pid option for stat
authorLiming Wang <liming.wang@windriver.com>
Thu, 31 Dec 2009 08:05:50 +0000 (16:05 +0800)
committerIngo Molnar <mingo@elte.hu>
Wed, 13 Jan 2010 09:09:08 +0000 (10:09 +0100)
commit60666c630bdb33983a894b050b588b663f38f368
treeec9eef2f18fe94f7ec6d86ad4fcb046081a47283
parent0fb8ee48d9dfff6a0913ceb0be2068d8be203763
perf tools: Fix --pid option for stat

current pid option doesn't work for perf stat. Change it to what
perf record --pid acts as.

Signed-off-by: Liming Wang <liming.wang@windriver.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <1262246750-2191-1-git-send-email-liming.wang@windriver.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-stat.c