title: Can't use Android shell atrace command because of write access
body: <p>If I try <strong>atrace</strong> tool from <strong>adb</strong> shell in <strong>emulator</strong>:</p>
  
  <pre><code># atrace
  atrace
  error opening /sys/kernel/debug/tracing/options/overwrite: No such file or direc
  tory (2)
  </code></pre>
  
  <p>If I do :</p>
  
  <pre><code>#mount -t debugfs nodev /sys/kernel/debug
  #mount: No such file or directory
  </code></pre>
  
  <p>If I try to make the folder :</p>
  
  <pre><code>#mkdir -p /sys/kernel/debug
  #mkdir failed for /sys/kernel/debug/, No such file or directory
  </code></pre>
  
  <p>So apparently I don't have write access even if I'm <strong>root</strong>.... </p>
  
  <p><strong>Edit:</strong></p>
  
  <p>I can create folder in <strong>/data/</strong> path but no in <strong>/sys/</strong> path...</p>
  
  <p>Has anybody be able to create folder in <strong>/sys/</strong> path in emulator environment?</p>
  
  <p>Any help ?</p>
  
  <p>Thanks !</p>