Messages in this thread |  | | From | Namhyung Kim <> | Subject | Re: [PATCH 2/6] perf timechart: use proc_num to implement --power-only | Date | Fri, 01 Nov 2013 15:07:17 +0900 |
| |
On Tue, 29 Oct 2013 13:28:46 +0400, Stanislav Fomichev wrote: >> 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.
If so, I think it'd better moving the if () parts into this patch.
Thanks, Namhyung
> >> 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.
|  |