1. 17 Jan, 2017 2 commits
    • Sasha Goldshtein's avatar
      trace: Allow function signatures in uprobes and kprobes · 23e72b89
      Sasha Goldshtein authored
      §`trace` now allows uprobes and kprobes to have function signatures,
      which means function parameters can be named and typed, rather than
      relying on the positional arg1, arg2, etc. arguments. This also
      enables structure field access, which is impossible with the unnamed
      arguments due to rewriter limitations.
      
      The example requested by @brendangregg, which now works, is the
      following:
      
      §Â```
      PID    TID    COMM         FUNC             -
      777    785    automount    SyS_nanosleep    sleep for 500000000 ns
      777    785    automount    SyS_nanosleep    sleep for 500000000 ns
      777    785    automount    SyS_nanosleep    sleep for 500000000 ns
      777    785    automount    SyS_nanosleep    sleep for 500000000 ns
      ^C
      ```
      23e72b89
    • 4ast's avatar
      Merge pull request #875 from pchaigno/target-process-library · 7e78f3a6
      4ast authored
      Use targeted process to resolve library names
      7e78f3a6
  2. 16 Jan, 2017 3 commits
  3. 15 Jan, 2017 3 commits
  4. 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
  5. 13 Jan, 2017 2 commits
  6. 11 Jan, 2017 10 commits
  7. 09 Jan, 2017 4 commits
  8. 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
  9. 07 Jan, 2017 2 commits
    • Brenden Blanco's avatar
      Merge pull request #887 from rneugeba/cflags · e14519e7
      Brenden Blanco authored
      Add -fno-stack-protector to CFLAGS
      e14519e7
    • Rolf Neugebauer's avatar
      Add -fno-stack-protector to CFLAGS · 5dfd199a
      Rolf Neugebauer authored
      When compiling ebpf programs on Alpine Linux the compiler throws the following
      error:
      
      LLVM ERROR: Cannot select: 0x56049b79dcb0: ch,glue = BPFISD::CALL 0x56049a93ad60, TargetExternalSymbol:i64'__stack_chk_fail'
        0x56049b391500: i64 = TargetExternalSymbol'__stack_chk_fail'
          In function: waker
      
      Disabling the stack protector explicitly with '-fno-stack-protector'
      fixes this error.
      
      clang version 3.8.1 (tags/RELEASE_381/final)
      Target: x86_64-alpine-linux-musl
      Thread model: posix
      InstalledDir: /usr/bin
      Signed-off-by: default avatarRolf Neugebauer <rolf.neugebauer@docker.com>
      5dfd199a
  10. 05 Jan, 2017 6 commits
  11. 03 Jan, 2017 1 commit
  12. 02 Jan, 2017 1 commit
  13. 29 Dec, 2016 2 commits
  14. 28 Dec, 2016 1 commit
  15. 26 Dec, 2016 1 commit