From: Arnaldo Carvalho de Melo Date: Fri, 15 May 2009 01:50:46 +0000 (-0300) Subject: perf record: Allow specifying a pid to record X-Git-Tag: v2.6.31-rc1~383^2~282 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a853e36871b533ccc3f3c5bdd5cd0d867043a00;p=pandora-kernel.git perf record: Allow specifying a pid to record Allow specifying a pid instead of always fork+exec'ing a command. Because the PERF_EVENT_COMM and PERF_EVENT_MMAP events happened before we connected, we must synthesize them so that 'perf report' can get what it needs. [ Impact: add new command line option ] Signed-off-by: Arnaldo Carvalho de Melo Cc: Clark Williams Cc: John Kacur Cc: Peter Zijlstra LKML-Reference: <20090515015046.GA13664@ghostprotocols.net> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed