1. 19 Oct, 2018 4 commits
    • Tommi Rantala's avatar
      Unsigned sscanf() in kernel_version() · 4e13e6d0
      Tommi Rantala authored
      cppcheck was complaining:
      
      [attached_probe.cpp:206]: (warning) %d in format string (no. 1) requires 'int *' but the argument type is 'unsigned int *'.
      [attached_probe.cpp:206]: (warning) %d in format string (no. 2) requires 'int *' but the argument type is 'unsigned int *'.
      [attached_probe.cpp:206]: (warning) %d in format string (no. 3) requires 'int *' but the argument type is 'unsigned int *'.
      
      While at it, check uname() and sscanf() return values to avoid garbage.
      4e13e6d0
    • Tommi Rantala's avatar
      Call close() only if opened · fccdd364
      Tommi Rantala authored
      Valgrind was complaining:
      ==9103== Warning: invalid file descriptor -1 in syscall close()
      ==9103== Warning: invalid file descriptor -1 in syscall close()
      fccdd364
    • Tommi Rantala's avatar
      Pass strings by const reference · 5eaa5783
      Tommi Rantala authored
      5eaa5783
    • Brendan Gregg's avatar
      allow stand-alone executables · 8ec651e9
      Brendan Gregg authored
      8ec651e9
  2. 18 Oct, 2018 3 commits
  3. 17 Oct, 2018 6 commits
  4. 16 Oct, 2018 14 commits
  5. 15 Oct, 2018 8 commits
  6. 13 Oct, 2018 3 commits
  7. 12 Oct, 2018 2 commits