lkml.org 
[lkml]   [2009]   [Dec]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/1 v2] perf record: We should fork only if a program was specified to run
From
Date
On Sat, 2009-12-19 at 19:22 -0200, Arnaldo Carvalho de Melo wrote:
> @@ -550,7 +551,7 @@ static int __cmd_record(int argc __used, const char **argv)
> return err;
> }
>
> - if (!system_wide)
> + if (!system_wide && profile_cpu == -1)
> event__synthesize_thread(pid, process_synthesized_event,
> session);

Not actually sure about this bit though, since we now have
per-task-per-cpu things, the profile_cpu is also used to !system_wide.





\
 
 \ /
  Last update: 2009-12-19 22:43    [W:0.063 / U:0.364 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site