1. 04 11月, 2013 1 次提交
  2. 13 7月, 2013 3 次提交
  3. 28 5月, 2013 4 次提交
  4. 01 4月, 2013 1 次提交
  5. 16 3月, 2013 2 次提交
  6. 07 2月, 2013 1 次提交
  7. 01 2月, 2013 5 次提交
  8. 09 12月, 2012 1 次提交
  9. 06 11月, 2012 2 次提交
  10. 01 11月, 2012 1 次提交
  11. 29 10月, 2012 1 次提交
  12. 18 10月, 2012 1 次提交
  13. 17 10月, 2012 1 次提交
  14. 05 10月, 2012 3 次提交
  15. 15 9月, 2012 2 次提交
  16. 09 9月, 2012 1 次提交
  17. 20 8月, 2012 1 次提交
  18. 06 8月, 2012 1 次提交
  19. 25 7月, 2012 1 次提交
    • K
      perf tools: use XSI-complaint version of strerror_r() instead of GNU-specific · 4cc49d4d
      Kirill A. Shutemov 提交于
      Perf uses GNU-specific version of strerror_r(). The GNU-specific strerror_r()
      returns a pointer to a string containing the error message.  This may be either
      a pointer to a string that the function stores in buf, or a pointer to some
      (immutable) static string (in which case buf is unused).
      
      In glibc-2.16 GNU version was marked with attribute warn_unused_result.  It
      triggers few warnings in perf:
      
      util/target.c: In function ‘perf_target__strerror’:
      util/target.c:114:13: error: ignoring return value of ‘strerror_r’, declared with attribute warn_unused_result [-Werror=unused-result]
      ui/browsers/hists.c: In function ‘hist_browser__dump’:
      ui/browsers/hists.c:981:13: error: ignoring return value of ‘strerror_r’, declared with attribute warn_unused_result [-Werror=unused-result]
      
      They are bugs.
      
      Let's fix strerror_r() usage.
      Signed-off-by: NKirill A. Shutemov <kirill@shutemov.name>
      Acked-by: NUlrich Drepper <drepper@gmail.com>
      Cc: Ingo Molnar <mingo@kernel.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: Ulrich Drepper <drepper@gmail.com>
      Link: http://lkml.kernel.org/r/20120723210654.GA25248@shutemov.name
      [ committer note: s/assert/BUG_ON/g ]
      Signed-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      4cc49d4d
  20. 20 6月, 2012 2 次提交
  21. 30 5月, 2012 1 次提交
  22. 11 5月, 2012 1 次提交
  23. 12 4月, 2012 1 次提交
  24. 08 4月, 2012 1 次提交
  25. 06 4月, 2012 1 次提交
    • J
      perf hists browser: Fix NULL deref in hists browsing code · 8493fe1d
      Jiri Olsa 提交于
      If there's an event with no samples in data file, the perf report
      command can segfault after entering the event details menu.
      
      Following steps reproduce the issue:
      
       # ./perf record -e syscalls:sys_enter_kexec_load,syscalls:sys_enter_mmap ls
       # ./perf report
       # enter '0 syscalls:sys_enter_kexec_load' menu
       # pres ENTER twice
      
      Above steps are valid assuming ls wont run kexec.. ;)
      
      The check for sellection to be NULL is missing. The fix makes sure it's
      being check. Above steps now endup with menu being displayed allowing
      'Exit' as the only option.
      Signed-off-by: NJiri Olsa <jolsa@redhat.com>
      Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Ingo Molnar <mingo@elte.hu>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Link: http://lkml.kernel.org/r/1333570898-10505-2-git-send-email-jolsa@redhat.comSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      8493fe1d