lkml.org 
[lkml]   [2013]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/6] perf timechart: use proc_num to implement --power-only
> I don't see how it does same thing.  You mean it by skipping
> draw_process_bars() and draw_wakeups() on patch 1? It'd be better
> changelog explains the details.
Yes, it depends on the previous patch, I'll add more info to the
changelog.

> And I'd like to keep it as BOOLEAN option - it's simpler and more
> straight-forward IMHO.
>
> How about adding
>
> if (power_only)
> proc_num = 0;
>
> after parsing the command line options?
Ok, this works too.


\
 
 \ /
  Last update: 2013-10-29 11:01    [W:0.059 / U:0.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site