1. 29 Aug, 2015 8 commits
  2. 27 Aug, 2015 1 commit
  3. 26 Aug, 2015 9 commits
  4. 25 Aug, 2015 5 commits
  5. 24 Aug, 2015 6 commits
  6. 22 Aug, 2015 2 commits
  7. 21 Aug, 2015 2 commits
  8. 20 Aug, 2015 5 commits
  9. 19 Aug, 2015 2 commits
    • 4ast's avatar
      Merge pull request #151 from iovisor/bblanco_dev · ef67bb2a
      4ast authored
      Change API of attach_kprobe to take a name argument
      ef67bb2a
    • Brenden Blanco's avatar
      Change API of attach_kprobe to take a name argument · 5eef65e6
      Brenden Blanco authored
      Per feedback on the attach_kprobe api, change up the arguments to remove
      the load_func that typically preceeds the call. Instead, move this
      inside the attach_kprobe implementation. Also, this makes attach_kprobe
      need to be non-static. The same applies to attach_kretprobe.
      
      Old:
      fn = b.load_func("hello", BPF.KPROBE)
      BPF.attach_kprobe(fn, "sys_clone")
      
      New:
      b.attach_kprobe(event="sys_clone", fn_name="hello")
      
      Note that the kwarg style is not required, but I fixed up the current
      usages to provide readability.
      Signed-off-by: default avatarBrenden Blanco <bblanco@plumgrid.com>
      5eef65e6