Permalink
Commits on Oct 19, 2018
  1. allow stand-alone executables

    brendangregg authored and ajor committed Oct 18, 2018
Commits on Oct 18, 2018
  1. Merge pull request #195 from cneira/bugs

    brendangregg committed Oct 18, 2018
    issue 174 make resolve_kname match exact string
  2. Merge pull request #188 from iovisor/probe_short_name

    brendangregg committed Oct 18, 2018
    probe type short names
  3. tests

    williangaspar committed Oct 18, 2018
Commits on Oct 17, 2018
  1. Merge pull request #193 from cneira/issue20

    brendangregg committed Oct 17, 2018
    Add file globbing search semantics to list_probes()
Commits on Oct 16, 2018
  1. Merge pull request #189 from psanford/printf-stacks

    brendangregg committed Oct 16, 2018
    Support printf("%s") for stack and ustack
  2. Support printf("%s") for stack and ustack

    psanford committed Oct 16, 2018
    This works similarly to how printf'ing a Type::usym works.
    
    When verifying the printf format string we treat stack and ustack as
    Type::string. BPFtrace:get_arg_values now knows how to resolve these.
    
    Fixes #10
  3. fixes: #12

    williangaspar committed Oct 16, 2018
  4. Use syscall when name_to_handle_at is not available

    krnowak authored and ajor committed Oct 16, 2018
    This makes cgroupid function to work fine when building with alpine.
  5. Merge pull request #166 from psanford/fix-uprobe-golang-symbols

    ajor committed Oct 16, 2018
    Allow '.' in idents for golang
  6. Set up multi-environment unit testing

    ajor committed Oct 15, 2018
    Supports:
    - LLVM 5 (static build)
    - LLVM 5
    - LLVM 6
    - LLVM 7
  7. Merge pull request #173 from iovisor/kernel-header-fixes

    brendangregg committed Oct 16, 2018
    ClangParser: Don't exit if kernel headers are not found
  8. Support unexpanded string literal attach points

    psanford committed Oct 16, 2018
    When specifying a string literal attach point do not try to expand
    wildcards if they are present.
    
    This specifically is required for Go methods on pointer receivers,
    which have a '*' in their symbol name.
  9. Allow quoted string attach points

    psanford committed Oct 10, 2018
    Allow quoted string attach points so that you can match more than
    [a-Z0-9].
    
    This specific issue that this fixes is attaching to go
    functions. These symbols are in the format '<package>.<function>' and
    can contain unicode letters and digits.
  10. Merge pull request #170 from kinvolk/alban/func_cgroupid

    brendangregg committed Oct 16, 2018
    Implement function cgroupid(path) -> cgroup id
  11. Update reference documentation

    krnowak committed Oct 16, 2018
    Mention the `cgroup` variable and the `cgroupid` function alongside an
    example that uses them both.
  12. Support resolving cgroupid only if name_to_handle_at exists

    krnowak committed Oct 15, 2018
    Currently used image of alpine has a version of musl libc that does
    not have name_to_handle_at function that is required to resolve the
    cgroup id. In such case we just use an implementation that says that
    resolving cgroupid is not supported.
  13. Implement function cgroupid()

    alban authored and krnowak committed Oct 11, 2018
  14. Add helper macros for wrapping annoying C types

    krnowak committed Oct 15, 2018
    We will wrap the file_handle struct in the next commit. The struct has
    a flexible array member, which is not supported by C++. Compiler may
    complain about using it when allocated on stack, even indirectly as a
    member of a struct. I'm not sure if using this kind of types is even a
    defined behavior…
Commits on Oct 15, 2018
  1. Merge pull request #149 from mlen/master

    brendangregg committed Oct 15, 2018
    Initial LLVM 7 port
  2. Cast integers to the correct type

    mlen committed Oct 15, 2018
    Apply Brendan's patch
  3. Unroll (#175)

    williangaspar authored and brendangregg committed Oct 15, 2018
    * fixes: #9
    
    * test fix
    
    * tests
    
    * lifetime
    
    * crash fix
  4. Merge pull request #177 from sandip4n/ppc64-dev

    brendangregg committed Oct 15, 2018
    Extend support for char type
  5. Merge pull request #178 from sandip4n/docs-dev

    brendangregg committed Oct 15, 2018
    Fix link to count function in reference guide
  6. docs: reference-guide: Fix link to count function

    sandip4n committed Oct 15, 2018
    This fixes the link to the count() function under the Frequency
    Counting section.
    
    Signed-off-by: Sandipan Das <sandipan@linux.ibm.com>
  7. clang-parser: Extend support for char type

    sandip4n committed Oct 11, 2018
    This extends support for the char type by making the clang
    parser recognize CXType_Char_U as well.
    
    Currently, the clang parser assumes that the char type is
    always implemented as a signed char. However, for certain
    architectures like powerpc64, the char type is unsigned
    and the parser fails to recognize such variables.
    
    Signed-off-by: Sandipan Das <sandipan@linux.ibm.com>
  8. [INSTALL] Add make to Fedora instructions

    superjamie authored and ajor committed Oct 15, 2018
    If make is not installed, a clean Fedora install fails with:
    
    CMake Error: CMake was unable to find a build program corresponding to "Unix
    Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a
    different build tool.
    
    Advise users to install make to resolve this.
    
    Signed-off-by: Jamie Bainbridge <jamie.bainbridge@gmail.com>
Commits on Oct 13, 2018
  1. ClangParser: Don't exit if kernel headers are not found

    ajor committed Oct 13, 2018
    - KBuildHelper takes kdir, not kpath, as a parameter.
    - Copy BCC and set has_kpath_source to false when reading
      kpath from environment variable
  2. Merge pull request #171 from cneira/headers

    brendangregg committed Oct 13, 2018
    BPFTRACE_KERNEL_SOURCE  environment variable