oaken-source / graprof

a profiling and trace analysis tool - see the website for downloads and additional information
http://graprof.grapentin.org
GNU General Public License v3.0
13 stars 1 forks source link

Add --verbose option to reduce help text in callgraph and flatprofile #6

Closed stefanbeller closed 11 years ago

stefanbeller commented 11 years ago

Technically it is possible to pass -v multiple times to increase the verbosity level, we don't make use of it as of now.

Similar as in the last pull request, I accidentally removed some more trailing white spaces, still due to default in the editor.

Signed-off-by: Stefan Beller stefanbeller@googlemail.com

oaken-source commented 11 years ago

removing trailing white space is okay with me.

However, I propose the following changes: [1] passing the verbosity flag as parameter to the flatprofile_print and callgraph_print functions [2] adding the verbosity flag to the arguments struct [3] using "add descriptions to profiling output" as description for the flag

stefanbeller commented 11 years ago

That sounds indeed nicer, I have implemented the suggestions in a followup commit.

oaken-source commented 11 years ago

Perfect, thanks again!