1. 30 Jan, 2017 1 commit
    • Sasha Goldshtein's avatar
      argdist: Fix -p behavior to filter tgid and not pid · 655e3c30
      Sasha Goldshtein authored
      argdist remained one of the last holdouts to use the `-p` switch
      inconsistently with other tools, filtering for kernel pid (thread
      id from user space perspective) and not kernel tgid (process id
      from user space perspective). This is now fixed.
      
      Additionally, minor nits around generating pid filters were fixed,
      and a potential collision with user-provided argument names was
      fixed too (in general, script-generated arguments/locals should
      probably stick to reserved identifiers, such as `__whatever` rather
      than `whatever`).
      655e3c30
  2. 22 Jan, 2017 1 commit
  3. 21 Jan, 2017 2 commits
  4. 20 Jan, 2017 3 commits
  5. 17 Jan, 2017 9 commits
  6. 16 Jan, 2017 3 commits
  7. 15 Jan, 2017 3 commits
  8. 14 Jan, 2017 1 commit
    • Sasha Goldshtein's avatar
      argdist, trace: Support non-C identifier names · 3fa7ba1e
      Sasha Goldshtein authored
      When argdist or trace face a function that has characters
      in its name that are not valid in C identifier, they now
      replace these characters with an underscore (`_`) when
      generating function names and structure names to include
      in the BPF program. As a result, it is now possible to
      trace functions that have these identifiers in their names,
      such as Golang functions like `fmt.Println`.
      3fa7ba1e
  9. 13 Jan, 2017 2 commits
  10. 11 Jan, 2017 10 commits
  11. 09 Jan, 2017 4 commits
  12. 08 Jan, 2017 1 commit
    • Ryan Leary's avatar
      Fixes bio{snoop,top} on 4.10. · bc43a290
      Ryan Leary authored
      This commit fixes #888.  The 2 scripts run the same check, and now run
      basically the same code to do it.
      
      Tested on 4.10-rc2.
      bc43a290