title: gprof and arguments to executable
body: <p>when using gprof:</p>
  
  <pre><code>$ gprof options [executable-file [profile-data-files...]] [&gt; outfile]
  </code></pre>
  
  <p>if you have options to pass to the executable like:</p>
  
  <pre><code>gprof a.out --varfred=32
  </code></pre>
  
  <p>then gprof assumes that I am passing an invalid option to it, instead of to the program being profiled (<code>a.out</code>).</p>
  
  <p>Any way to get around this?</p>