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

Allow tracing and analyzing in one step #12

Closed stefanbeller closed 11 years ago

stefanbeller commented 11 years ago

As of now the usual way of operating graprof distinguishes between recording a trace and analyzing that trace by 2 different commands:

record trace with properly linked and instrumented binary:

GRAPROF_OUT=mytrace a.out --option-for-a-out
# analysis:
graprof a.out mytrace --graprof-options

That way is kept, but another way is added: graprof --graprof-options -- a.out --option-for-a-out using a default trace file located at $PWD/graprof.trace

A few notes on this added implementation:

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

Personally I don't like the variable name 'profilee', I'll think about better names.

oaken-source commented 11 years ago

alternative implementation has been applied to master, invalidating this pull request.