该项目从 https://github.com/iovisor/bcc.git 镜像。 Pull mirroring failed .
由于尝试失败次数过多,仓库镜像已暂停,可以由项目维护者或所有者恢复。
上次成功更新
  1. 05 6月, 2018 1 次提交
  2. 02 5月, 2018 2 次提交
  3. 01 5月, 2018 2 次提交
    • Paul Chaignon's avatar
      Detect external pointers from context pointers · b66a9c9b
      Paul Chaignon 创作于
      The bcc rewriter is currently unable to detect external pointers
      (i.e., to a memory address that requires calls to bpf_probe_read) if
      they are not declared as arguments, e.g., if they are retrieved
      through the context argument.
      For example, although the two following examples translate to the
      same C code in the end (the bcc rewriter translates the first into
      the second), the sk pointer is recognized as an external pointer only
      in the first example.
      
      int test1(struct pt_regs *ctx, struct sock *sk) {
          // sk is correctly recognized as an external pointer.
      }
      int test2(struct pt_regs *ctx) {
          struct sock *sk = (struct sock *)ctx->di;
          // sk is not recognized as an external pointer.
      }
      
      This commit fixes that by detecting member dereferences of the
      context argument (i.e., the first argument of externally visible
      functions). It also works for the TRACEPOINT_PROBE macro.
      b66a9c9b
    • Paul Chaignon's avatar
  4. 30 4月, 2018 7 次提交
  5. 29 4月, 2018 6 次提交
  6. 28 4月, 2018 1 次提交
  7. 27 4月, 2018 5 次提交
  8. 26 4月, 2018 9 次提交
  9. 25 4月, 2018 4 次提交
  10. 24 4月, 2018 3 次提交