1. 16 Jul, 2018 2 commits
  2. 14 Jul, 2018 1 commit
  3. 13 Jul, 2018 2 commits
  4. 12 Jul, 2018 3 commits
  5. 11 Jul, 2018 1 commit
  6. 10 Jul, 2018 6 commits
  7. 09 Jul, 2018 1 commit
  8. 08 Jul, 2018 1 commit
  9. 06 Jul, 2018 1 commit
  10. 02 Jul, 2018 1 commit
  11. 01 Jul, 2018 2 commits
    • Paul Chaignon's avatar
      Fix license recognition on GitHub.com · a1b1f413
      Paul Chaignon authored
      The second file with the license information, COPYRIGHT.txt, contains
      the same information as LICENSE.txt, expect for the license's text.
      However, it prevents Licensee, the tool used by GitHub to detect
      licenses, from working properly as it doesn't know which file to take
      into account.
      a1b1f413
    • Paul Chaignon's avatar
      tools: remove unnecessary calls to bpf_probe_read · 8d78edd8
      Paul Chaignon authored
      Most of these calls have been rendered useless by a9f96c02 ("Recognize
      context member dereferences despite array accesses (#1828)").
      8d78edd8
  12. 28 Jun, 2018 3 commits
  13. 27 Jun, 2018 3 commits
  14. 26 Jun, 2018 3 commits
    • Lakshmipathi's avatar
      Fedora-28 install step (#1857) · 293938d8
      Lakshmipathi authored
      Ensure dnf point to correct  package name.
      293938d8
    • Teng Qin's avatar
      Unify and improve C++'s USDT implementation (#1841) · 8265aca7
      Teng Qin authored
      * Add interface to Probe's getargs call
      
      This commit allows the Probe instance to generate argument for arbitary
      probe function
      
      * Refactor C++ USDT implementation
      
      This commit makes C++ USDT implementation uses the common USDT::Context
      and USDT::Probe logic
      
      * Add test case for C++ USDT API
      
      * Improve FollyRequestContextSwitch example
      8265aca7
    • yonghong-song's avatar
      fix a bug in tracepoint struct rewriter (#1856) · c2e2a26b
      yonghong-song authored
      Fix issue #1853.
      
      Commit 7c489469 ("adjust tracepoint field type
      based on size") tried to fix the tracepoint format
      descrepancy between declared type and actual size is 8.
      The type has to be promoted to match the size.
      
      The commit introduced a bug if the field is an array.
      For exmaple, block:block_rq_complete tracepoint has
      field rwbs:
        field:char rwbs[8];	offset:32;	size:8;	signed:1;
      
      The current implementation will incorrectly translate it
      into
        s64 rwbs[8];
      since it considers the type is "char".
      
      This patch fixed this issue by checking the field name
      and if it is an array, rewriting will be skipped.
      Signed-off-by: default avatarYonghong Song <yhs@fb.com>
      c2e2a26b
  15. 25 Jun, 2018 2 commits
  16. 22 Jun, 2018 2 commits
  17. 21 Jun, 2018 5 commits
  18. 20 Jun, 2018 1 commit
    • Oriol Arcas's avatar
      Added new footer.h header where BPF_LICENSE is set if not defined · 9aab22ec
      Oriol Arcas authored
      The helpers.h header specifies the BPF program license as 'GPL'.
      However, other GPL-compatible licenses are possible (e.g., Dual BSD/GPL)
      or even proprietary licenses (e.g., cachetop can run with a proprietary
      license).
      
      With this commit, the user can specify a BPF_LICENSE macro in the source
      code:
      
        #define BPF_LICENSE Custom license
      
      Note it supports multiple words and the absence of quotes. If the BPF
      doesn't have a GPL-compatible license and it uses any GPL-only helpers,
      the kernel will reject it with:
      
        cannot call GPL only function from proprietary program
      
      If no license is specified, it will fall back to GPL (the current
      behavior before this commit) so that the BCC tools and examples remain
      usable.
      
      Updated the documentation with BPF_LICENSE description, licensing error
      description, and licenses for each helper.
      Signed-off-by: default avatarOriol Arcas <oriol@starflownetworks.com>
      9aab22ec