title: Read trace file from android APP
body: <p>I am trying to read content of /sys/kernel/debug/tracing/trace file from my code but i am unable to do so.I have tried mounting using
  mount -o rw,remount -t debugfs nodev /sys/kernel/debug
  and have also done chmod -R 777 /sys/kernel/debug</p>
  
  <pre><code>          File myFile = new File("/sys/kernel/debug/tracing/trace");
      FileInputStream fIn = null;
      try {
          fIn = new FileInputStream(myFile);
      } catch (FileNotFoundException e) {
          e.printStackTrace();
      }
      BufferedReader myReader = new BufferedReader(
              new InputStreamReader(fIn));
      String aDataRow;
      try {
          while ((aDataRow = myReader.readLine()) != null) {
              // Toast.makeText(getBaseContext(), aDataRow, Toast.LENGTH_LONG).show();
              t.setText(aDataRow);
              break;
          }
      } catch (IOException e) {
          e.printStackTrace();
      }
  </code></pre>