1. 30 5月, 2016 1 次提交
  2. 27 4月, 2016 1 次提交
  3. 19 3月, 2016 1 次提交
  4. 17 2月, 2016 3 次提交
  5. 06 10月, 2015 1 次提交
  6. 29 9月, 2015 3 次提交
  7. 14 9月, 2015 5 次提交
  8. 04 9月, 2015 8 次提交
  9. 09 7月, 2015 1 次提交
  10. 06 7月, 2015 1 次提交
    • A
      tools lib api debugfs: Check for tracefs when reporting errors · ab85785a
      Arnaldo Carvalho de Melo 提交于
      Now that we have two mountpoints, one for debugfs and another, for
      tracefs, we end up needing to check permissions for both, so, on
      a system with default config we were always asking the user to
      check the permission of the debugfs mountpoint, even when it was
      already sufficient. Fix it.
      
      E.g.:
      
        $ trace -e nanosleep usleep 1
        Error: No permissions to read /sys/kernel/debug/tracing/events/raw_syscalls/sys_(enter|exit)
        Hint:  Try 'sudo mount -o remount,mode=755 /sys/kernel/debug'
      
        $ sudo mount -o remount,mode=755 /sys/kernel/debug
        $ trace -e nanosleep usleep 1
        Error: No permissions to read /sys/kernel/debug/tracing/events/raw_syscalls/sys_(enter|exit)
        Hint:  Try 'sudo mount -o remount,mode=755 /sys/kernel/debug/tracing'
      
        $ sudo mount -o remount,mode=755 /sys/kernel/debug/tracing
        $ trace -e nanosleep usleep 1
           0.326 ( 0.061 ms): usleep/11961 nanosleep(rqtp: 0x7ffef1081c50) = 0
        $
      
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Borislav Petkov <bp@suse.de>
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Jiri Olsa <jolsa@redhat.com>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Stephane Eranian <eranian@google.com>
      Cc: Steven Rostedt <rostedt@goodmis.org>
      Link: http://lkml.kernel.org/n/tip-0viljeuhc7q84ic8kobsna43@git.kernel.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      ab85785a
  11. 24 4月, 2015 1 次提交
  12. 13 2月, 2015 2 次提交
  13. 07 2月, 2015 5 次提交
  14. 23 1月, 2015 2 次提交
  15. 22 1月, 2015 2 次提交
  16. 17 1月, 2015 1 次提交
  17. 12 12月, 2014 2 次提交