1. 15 Jan, 2019 9 commits
  2. 14 Jan, 2019 6 commits
  3. 11 Jan, 2019 5 commits
    • Daniel Xu's avatar
      Add hint to install docs and normalize format · c0084a28
      Daniel Xu authored
      c0084a28
    • Dan Xu's avatar
      Link against system installed bcc (#327) · 4c3fbad2
      Dan Xu authored
      Link against system bcc
      
      Previously, bpftrace was clone bcc from github at build time, building
      a version of bcc, then linking against the built bcc. This is a no-go
      for many packaging systems including Fedora, openSUSE, and the internal
      Facebook one.
      
      This patch requires bcc and bcc development headers be installed to
      build bpftrace and removes the build time downloading behavior.
      Also simplifies some of the header search logic.
      
      Test plan:
      ```
      $ ./build/tests/bpftrace_test
      ...
      $ sudo make -C build runtime-tests
      ...
      
      $ cat ~/scratch/bpftrace/path.bt
      
      kprobe:vfs_open
      {
          printf("open path: %s\n", str(((path *)arg0)->dentry->d_name.name));
      }
      
      $ sudo ./build/src/bpftrace ~/scratch/bpftrace/path.bt
      [sudo] password for dlxu:
      Attaching 1 probe...
      open path: stat
      open path: user-745673103.journal
      open path: user-1001.journal
      open path: user-745673103.journal
      open path: user-1001.journal
      open path: user-745673103.journal
      open path: user-1001.journal
      open path: iio:device0
      open path: stat
      ...
      4c3fbad2
    • Matheus Marchini's avatar
      docker: disable runtime tests on CI · 0667b92d
      Matheus Marchini authored
      0667b92d
    • Daniel Xu's avatar
      Hide -inl.h header from interface · 10a43d07
      Daniel Xu authored
      `*-inl.h` files, or inline headers, are an implementation detail. Users
      of an interface that is backed by an inline header should not concern
      themselves with the details of implementation.
      
      This patch normalizes the interface.
      10a43d07
    • Brendan Gregg's avatar
      Merge pull request #331 from caringi/fix_crash_wrong_parameters · 97a53407
      Brendan Gregg authored
      Avoid crashing if mistakenly just '-d' or '-v' is used
      97a53407
  4. 10 Jan, 2019 1 commit
    • Augusto Caringi's avatar
      Avoid crashing if mistakenly just '-d' or '-v' is used · f2f67326
      Augusto Caringi authored
      Currently, if by mistake just '-v' or '-d' is used without any
      additional parameter (no filename nor -e 'program') bpftrace crashes:
      
      ./src/bpftrace -v
      terminate called after throwing an instance of 'std::logic_error'
      what():  basic_string::_M_construct null not valid
      Aborted (core dumped)
      
      This commit fix this problem.
      f2f67326
  5. 08 Jan, 2019 2 commits
  6. 07 Jan, 2019 1 commit
  7. 04 Jan, 2019 6 commits
  8. 03 Jan, 2019 5 commits
  9. 02 Jan, 2019 5 commits