title: Why is method tracing not working?
body: <p>I have a scenario where the Gallery scrolling is stuttering and its not apparent what the bottleneck code is by looking at the code so I wanted to run a trace for an Activity as follows - By putting <code>android.os.Debug.startMethodTracing("lsd_1");</code> in <code>onCreate()</code> and <code>android.os.Debug.stopMethodTracing();</code> in <code>onPause()</code> or <code>onStop()</code> but when I run the Activity lifecycle, I don't any trace file generated at the end.</p>
  
  <p>Have I performed tracing incorrectly in any way?</p>