<matrixBuild _class='hudson.matrix.MatrixBuild'><action _class='hudson.model.CauseAction'><cause _class='org.jenkinsci.plugins.ghprb.GhprbCause'><shortDescription>GitHub pull request #3154 of commit 11c93f613b43e296f949a231684d544016fd0bcb, has merge conflicts.</shortDescription></cause></action><action _class='org.jenkinsci.plugins.ghprb.GhprbParametersAction'><parameter _class='hudson.model.StringParameterValue'><name>sha1</name><value>11c93f613b43e296f949a231684d544016fd0bcb</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbActualCommit</name><value>11c93f613b43e296f949a231684d544016fd0bcb</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbActualCommitAuthor</name><value>Yonghong Song</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbActualCommitAuthorEmail</name><value>yhs@fb.com</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbAuthorRepoGitUrl</name><value>https://github.com/iovisor/bcc.git</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbTriggerAuthor</name><value></value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbTriggerAuthorEmail</name><value></value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbTriggerAuthorLogin</name><value></value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbTriggerAuthorLoginMention</name><value></value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbPullId</name><value>3154</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbTargetBranch</name><value>master</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbSourceBranch</name><value>yhs_dev</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>GIT_BRANCH</name><value>yhs_dev</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbPullAuthorEmail</name><value></value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbPullAuthorLogin</name><value>yonghong-song</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbPullAuthorLoginMention</name><value>@yonghong-song</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbPullDescription</name><value>GitHub pull request #3154 of commit 11c93f613b43e296f949a231684d544016fd0bcb, has merge conflicts.</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbPullTitle</name><value>fix compilation issues with latest llvm12 trunk</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbPullLink</name><value>https://github.com/iovisor/bcc/pull/3154</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbPullLongDescription</name><value>With latest llvm12 trunk, we got two compilation bugs.\r\n\r\nBug #1:\r\n  /home/yhs/work/bcc/src/cc/frontends/clang/b_frontend_action.cc:\r\n     In member function ‘void ebpf::BFrontendAction::DoMiscWorkAround()’:\r\n  /home/yhs/work/bcc/src/cc/frontends/clang/b_frontend_action.cc:1706:31:\r\n     error: ‘class clang::SourceManage’ has no member named ‘getBuffer’; did you mean ‘getBufferData’?\r\n     rewriter_-&gt;getSourceMgr().getBuffer(rewriter_-&gt;getSourceMgr().getMainFileID())-&gt;getBufferSize(),\r\n                               ^~~~~~~~~\r\n                               getBufferData\r\n\r\n  This is due to upstream change https://reviews.llvm.org/D89394.\r\n  To fix, follow upstream examples in https://reviews.llvm.org/D89394.\r\n\r\nBug #2:\r\n  /home/yhs/work/bcc/src/cc/bpf_module.cc: In member function ‘int ebpf::BPFModule::finalize()’:\r\n  /home/yhs/work/bcc/src/cc/bpf_module.cc:470:11:\r\n    error: ‘class llvm::EngineBuilder’ has no member named ‘setUseOrcMCJITReplacement’\r\n   builder.setUseOrcMCJITReplacement(false);\r\n           ^~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n  This is due to upstream\r\n    https://github.com/llvm/llvm-project/commit/6154c4115cd4b78d0171892aac21e340e72e32bd\r\n\r\n  It seems builder.setUseOrcMCJITReplacement() is not needed any more. So just remove it\r\n  from bcc.\r\n\r\nSigned-off-by: Yonghong Song &lt;yhs@fb.com&gt;</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbCommentBody</name><value>null</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbGhRepository</name><value>iovisor/bcc</value></parameter><parameter _class='hudson.model.StringParameterValue'><name>ghprbCredentialsId</name><value>6d3daf13-69b8-48b1-9c8f-ec5353264113</value></parameter></action><action _class='hudson.plugins.git.util.BuildData'><buildsByBranchName><detached _class='hudson.plugins.git.util.Build'><buildNumber>738</buildNumber><marked><SHA1>11c93f613b43e296f949a231684d544016fd0bcb</SHA1><branch><SHA1>11c93f613b43e296f949a231684d544016fd0bcb</SHA1><name>detached</name></branch></marked><revision><SHA1>11c93f613b43e296f949a231684d544016fd0bcb</SHA1><branch><SHA1>11c93f613b43e296f949a231684d544016fd0bcb</SHA1><name>detached</name></branch></revision></detached></buildsByBranchName><lastBuiltRevision><SHA1>11c93f613b43e296f949a231684d544016fd0bcb</SHA1><branch><SHA1>11c93f613b43e296f949a231684d544016fd0bcb</SHA1><name>detached</name></branch></lastBuiltRevision><remoteUrl>https://github.com/iovisor/bcc.git</remoteUrl><scmName></scmName></action><action _class='hudson.plugins.git.GitTagAction'></action><action></action><action></action><action _class='org.jenkinsci.plugins.displayurlapi.actions.RunDisplayAction'></action><building>false</building><description>&lt;a title="fix compilation issues with latest llvm12 trunk" href="https://github.com/iovisor/bcc/pull/3154"&gt;PR #3154&lt;/a&gt;: fix compilation issues with...</description><displayName>#738</displayName><duration>1221886</duration><estimatedDuration>7460664</estimatedDuration><fullDisplayName>bcc-pr #738</fullDisplayName><id>738</id><keepLog>false</keepLog><number>738</number><queueId>5913</queueId><result>SUCCESS</result><timestamp>1604471102150</timestamp><url>https://buildbot.iovisor.org/jenkins/user/danobi/my-views/view/all/job/bcc-pr/738/</url><builtOn></builtOn><changeSet _class='hudson.plugins.git.GitChangeSetList'><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>src/cc/frontends/clang/kbuild_helper.cc</affectedPath><commitId>c31e9d6c80f70ff39dff14a7ab3ebec07bec0c7f</commitId><timestamp>1595355915000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>Adjust the order of linux kernel header include paths

The current order of include paths could cause the following error:

In file included from /virtual/main.c:3:
In file included from include/linux/sched.h:13:
In file included from include/linux/pid.h:4:
In file included from include/linux/rculist.h:10:
In file included from include/linux/rcupdate.h:38:
In file included from include/linux/spinlock.h:50:
In file included from include/linux/preempt.h:80:
In file included from /lib/modules/4.12.14-197.45-default/build/arch/s390/include/generated/asm/preempt.h:1:
include/asm-generic/preempt.h:10:42: error: no member named 'preempt_count' in 'struct thread_info'
        return READ_ONCE(current_thread_info()-&gt;preempt_count);
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
include/linux/compiler.h:349:34: note: expanded from macro 'READ_ONCE'
                     ~~~~~~~~~~~~^~~~~
include/linux/compiler.h:342:17: note: expanded from macro '__READ_ONCE'
        union { typeof(x) __val; char __c[1]; } __u;
\
...
7 errors generated.

It's supposed to load "asm/preempt.h" from "source/"(*) but accidentally
loaded the one from "build/", so the error showed.
(x86_64 didn't suffer this error because it didn't install the extra
 "asm/preempt.h" to "build/".)

For the distros, e.g. SUSE/openSUSE and debian,  with separate "build/"
and "source/", all those "generated/" paths only exist in "build/". To
avoid the potential compilation issue, this commit adjusts the include
order for those with split headers to align the include order from
kernel top Makefile.

(*) /lib/modules/4.12.14-197.45-default/source/arch/s390/include/

Signed-off-by: Gary Lin &lt;glin@suse.com&gt;
</comment><date>2020-07-21 11:25:15 -0700</date><id>c31e9d6c80f70ff39dff14a7ab3ebec07bec0c7f</id><msg>Adjust the order of linux kernel header include paths</msg><path><editType>edit</editType><file>src/cc/frontends/clang/kbuild_helper.cc</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>libbpf-tools/bin/bpftool</affectedPath><affectedPath>libbpf-tools/tcpconnect.bpf.c</affectedPath><commitId>a02663be278012a4d0aea357023ea145c1b1c0d9</commitId><timestamp>1595453158000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>libbpf-tools: update bpftool and fix .rodata hack

Update bpftool to the latest version, handing const volatile arrays properly
when generating BPF skeletons. Fix tcpconnect tool hack to work around that
issue.

Signed-off-by: Andrii Nakryiko &lt;andriin@fb.com&gt;
</comment><date>2020-07-22 14:25:58 -0700</date><id>a02663be278012a4d0aea357023ea145c1b1c0d9</id><msg>libbpf-tools: update bpftool and fix .rodata hack</msg><path><editType>edit</editType><file>libbpf-tools/tcpconnect.bpf.c</file></path><path><editType>edit</editType><file>libbpf-tools/bin/bpftool</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>src/cc/libbpf.c</affectedPath><commitId>ba0bacf1714c37e4e99dbdef5559039c28aa7aef</commitId><timestamp>1595482811000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>Add return value check and handling for xattr loading

libbpf_find_vmlinux_btf_id may return error code for different reasons. We
should check and report the error we have just got, rather than let it slip
down the path and give an ambiguous error later.

Signed-off-by: He Zhe &lt;zhe.he@windriver.com&gt;
</comment><date>2020-07-22 22:40:11 -0700</date><id>ba0bacf1714c37e4e99dbdef5559039c28aa7aef</id><msg>Add return value check and handling for xattr loading</msg><path><editType>edit</editType><file>src/cc/libbpf.c</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>tools/opensnoop.py</affectedPath><commitId>6889afe0858b38b93f2a2da3ca538343d05f5930</commitId><timestamp>1595482811000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>tools/opensnoop: Snoop all open related syscall stubs

kernel v5.6 introduces fddb5d430ad9 ("open: introduce openat2(2) syscall").
Even though do_sys_open still exists, it might be optimized off final binary
depending on compilers. So we can't catch do_sys_open in some cases.

This patch uses ksymname to try to get entries of open, openat and openat2,
and changes the definitions of the trace functions to snoop them all. This
works for both kprobe and kfunc.

Credit to Yonghong Song for better code organization.

Signed-off-by: He Zhe &lt;zhe.he@windriver.com&gt;
</comment><date>2020-07-22 22:40:11 -0700</date><id>6889afe0858b38b93f2a2da3ca538343d05f5930</id><msg>tools/opensnoop: Snoop all open related syscall stubs</msg><path><editType>edit</editType><file>tools/opensnoop.py</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>man/man8/tcpconnect.8</affectedPath><commitId>7ce6f646ec6002c0f9a2f2742dc63ed2613b13c3</commitId><timestamp>1596124943000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>man: fix tcpconnect man page

Add -u and -U options to the synopsis.
Move their description frome the example to the description section.
Add a description to --mntnsmap option.
</comment><date>2020-07-30 09:02:23 -0700</date><id>7ce6f646ec6002c0f9a2f2742dc63ed2613b13c3</id><msg>man: fix tcpconnect man page</msg><path><editType>edit</editType><file>man/man8/tcpconnect.8</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>docs/reference_guide.md</affectedPath><affectedPath>examples/tracing/hello_perf_output_using_ns.py</affectedPath><commitId>7928ea0cd71aa8e794ed5ffdf0a6ff1004ab2849</commitId><timestamp>1596132569000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>Add example for new helper to documentation.
</comment><date>2020-07-30 11:09:29 -0700</date><id>7928ea0cd71aa8e794ed5ffdf0a6ff1004ab2849</id><msg>Add example for new helper to documentation.</msg><path><editType>edit</editType><file>docs/reference_guide.md</file></path><path><editType>add</editType><file>examples/tracing/hello_perf_output_using_ns.py</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>libbpf-tools/biopattern.h</affectedPath><affectedPath>libbpf-tools/biopattern.c</affectedPath><affectedPath>libbpf-tools/.gitignore</affectedPath><affectedPath>libbpf-tools/Makefile</affectedPath><affectedPath>libbpf-tools/biopattern.bpf.c</affectedPath><commitId>ca5bcd21468709f0fb0e6c8122a48f859d80769b</commitId><timestamp>1596132700000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>libbpf-tools: add CO-RE biopattern

Signed-off-by: Wenbo Zhang &lt;ethercflow@gmail.com&gt;
</comment><date>2020-07-30 11:11:40 -0700</date><id>ca5bcd21468709f0fb0e6c8122a48f859d80769b</id><msg>libbpf-tools: add CO-RE biopattern</msg><path><editType>edit</editType><file>libbpf-tools/.gitignore</file></path><path><editType>edit</editType><file>libbpf-tools/Makefile</file></path><path><editType>add</editType><file>libbpf-tools/biopattern.bpf.c</file></path><path><editType>add</editType><file>libbpf-tools/biopattern.c</file></path><path><editType>add</editType><file>libbpf-tools/biopattern.h</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>libbpf-tools/tcpconnlat.h</affectedPath><affectedPath>libbpf-tools/.gitignore</affectedPath><affectedPath>libbpf-tools/tcpconnlat.bpf.c</affectedPath><affectedPath>libbpf-tools/Makefile</affectedPath><affectedPath>libbpf-tools/tcpconnlat.c</affectedPath><commitId>b6ffa245cc4cd1ba41600f10062f820b6452a69d</commitId><timestamp>1596132735000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>libbpf-tools: add CO-RE tcpconnlat

Signed-off-by: Wenbo Zhang &lt;ethercflow@gmail.com&gt;
</comment><date>2020-07-30 11:12:15 -0700</date><id>b6ffa245cc4cd1ba41600f10062f820b6452a69d</id><msg>libbpf-tools: add CO-RE tcpconnlat</msg><path><editType>edit</editType><file>libbpf-tools/.gitignore</file></path><path><editType>add</editType><file>libbpf-tools/tcpconnlat.h</file></path><path><editType>add</editType><file>libbpf-tools/tcpconnlat.bpf.c</file></path><path><editType>edit</editType><file>libbpf-tools/Makefile</file></path><path><editType>add</editType><file>libbpf-tools/tcpconnlat.c</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>src/cc/libbpf</affectedPath><affectedPath>introspection/bps.c</affectedPath><affectedPath>src/cc/compat/linux/virtual_bpf.h</affectedPath><affectedPath>src/cc/export/helpers.h</affectedPath><commitId>8a164f95ee708495a89a43a243fdb5c8b7eee290</commitId><timestamp>1596136613000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>sync with latest libbpf repo

sync with latest libbpf repo

Signed-off-by: Yonghong Song &lt;yhs@fb.com&gt;
</comment><date>2020-07-30 12:16:53 -0700</date><id>8a164f95ee708495a89a43a243fdb5c8b7eee290</id><msg>sync with latest libbpf repo</msg><path><editType>edit</editType><file>src/cc/libbpf</file></path><path><editType>edit</editType><file>introspection/bps.c</file></path><path><editType>edit</editType><file>src/cc/export/helpers.h</file></path><path><editType>edit</editType><file>src/cc/compat/linux/virtual_bpf.h</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>libbpf-tools/biosnoop.c</affectedPath><affectedPath>libbpf-tools/biosnoop.bpf.c</affectedPath><affectedPath>libbpf-tools/biosnoop.h</affectedPath><affectedPath>libbpf-tools/Makefile</affectedPath><affectedPath>libbpf-tools/.gitignore</affectedPath><commitId>e0e2215833999998b9d654a0a5056d889457b005</commitId><timestamp>1596346023000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>libbpf-tools: add CO-RE biosnoop

Signed-off-by: Wenbo Zhang &lt;ethercflow@gmail.com&gt;
</comment><date>2020-08-01 22:27:03 -0700</date><id>e0e2215833999998b9d654a0a5056d889457b005</id><msg>libbpf-tools: add CO-RE biosnoop</msg><path><editType>edit</editType><file>libbpf-tools/Makefile</file></path><path><editType>add</editType><file>libbpf-tools/biosnoop.h</file></path><path><editType>edit</editType><file>libbpf-tools/.gitignore</file></path><path><editType>add</editType><file>libbpf-tools/biosnoop.bpf.c</file></path><path><editType>add</editType><file>libbpf-tools/biosnoop.c</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>libbpf-tools/maps.bpf.h</affectedPath><affectedPath>libbpf-tools/tcpconnect.bpf.c</affectedPath><affectedPath>libbpf-tools/tcpconnect.c</affectedPath><commitId>f8ac3c6c14519d9d35c88260473585861060d058</commitId><timestamp>1596346041000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment> libbpf-tools: fix tcpconnect compile errors

Signed-off-by: Wenbo Zhang &lt;ethercflow@gmail.com&gt;
</comment><date>2020-08-01 22:27:21 -0700</date><id>f8ac3c6c14519d9d35c88260473585861060d058</id><msg>libbpf-tools: fix tcpconnect compile errors</msg><path><editType>edit</editType><file>libbpf-tools/maps.bpf.h</file></path><path><editType>edit</editType><file>libbpf-tools/tcpconnect.bpf.c</file></path><path><editType>edit</editType><file>libbpf-tools/tcpconnect.c</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>tools/trace.py</affectedPath><commitId>d7b427ebc35b4b3e77c7f8dae6a83fcdf7d32e6d</commitId><timestamp>1596470669000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>Offset support for uprobe and kprobe
</comment><date>2020-08-03 09:04:29 -0700</date><id>d7b427ebc35b4b3e77c7f8dae6a83fcdf7d32e6d</id><msg>Offset support for uprobe and kprobe</msg><path><editType>edit</editType><file>tools/trace.py</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>man/man8/trace.8</affectedPath><affectedPath>tools/trace_example.txt</affectedPath><commitId>8105317c3bbe531801eb03324371462d627cf0ad</commitId><timestamp>1596470669000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>Update the documentation of the k/uprobe offset support
</comment><date>2020-08-03 09:04:29 -0700</date><id>8105317c3bbe531801eb03324371462d627cf0ad</id><msg>Update the documentation of the k/uprobe offset support</msg><path><editType>edit</editType><file>tools/trace_example.txt</file></path><path><editType>edit</editType><file>man/man8/trace.8</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>tools/trace_example.txt</affectedPath><commitId>6432324310b4e46057ca5f55e1d7f16b3b032497</commitId><timestamp>1596470669000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>typos
</comment><date>2020-08-03 09:04:29 -0700</date><id>6432324310b4e46057ca5f55e1d7f16b3b032497</id><msg>typos</msg><path><editType>edit</editType><file>tools/trace_example.txt</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>src/cc/compat/linux/virtual_bpf.h</affectedPath><affectedPath>src/cc/libbpf</affectedPath><commitId>9ef20e7aa61f6a4d7576f906fdaf32329bec34bc</commitId><timestamp>1597070789000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>sync with latest libbpf repo

Signed-off-by: Yonghong Song &lt;yhs@fb.com&gt;
</comment><date>2020-08-10 07:46:29 -0700</date><id>9ef20e7aa61f6a4d7576f906fdaf32329bec34bc</id><msg>sync with latest libbpf repo</msg><path><editType>edit</editType><file>src/cc/libbpf</file></path><path><editType>edit</editType><file>src/cc/compat/linux/virtual_bpf.h</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>src/cc/CMakeLists.txt</affectedPath><commitId>3fbb6648e9d843c5e835f0b26713b0656cb684a7</commitId><timestamp>1597276331000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>Fixes a problem when LLVM_DEFINITIONS contains a definition with an `=` in it.
add_definitions doesn't seem to parse this type of argument correctly.
</comment><date>2020-08-12 16:52:11 -0700</date><id>3fbb6648e9d843c5e835f0b26713b0656cb684a7</id><msg>Fixes a problem when LLVM_DEFINITIONS contains a definition with an `=` in it.</msg><path><editType>edit</editType><file>src/cc/CMakeLists.txt</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>tools/fileslower.py</affectedPath><commitId>b61e65ffe1cd41fb9fe01118540158f98737996e</commitId><timestamp>1597276423000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>bcc/tools/fileslower: Attach to vfs_read after failing to attach __vfs_read

__vfs_read has been removed since kernel v5.8-rc5
775802c0571f ("fs: remove __vfs_read"). Then try vfs_read instead.

Signed-off-by: He Zhe &lt;zhe.he@windriver.com&gt;
</comment><date>2020-08-12 16:53:43 -0700</date><id>b61e65ffe1cd41fb9fe01118540158f98737996e</id><msg>bcc/tools/fileslower: Attach to vfs_read after failing to attach __vfs_read</msg><path><editType>edit</editType><file>tools/fileslower.py</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>libbpf-tools/tcpconnect.h</affectedPath><affectedPath>libbpf-tools/tcpconnect.c</affectedPath><commitId>5c272220f1cf8a3bb8fd6814c963b3f9b271fe3a</commitId><timestamp>1597373191000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>libbpibbpf-tools: fix tcpconnect types usage

The __int128 is not defined for 32-bit platforms, see [1], so replace it by
a portable array of __u8.

The usage of this type came from the original tcpconnect.py, and __int128 is
still used in most (if not all) original BCC tools to store IPv6 addresses.

[1] https://github.com/iovisor/bcc/issues/3044

Signed-off-by: Anton Protopopov &lt;a.s.protopopov@gmail.com&gt;
</comment><date>2020-08-13 19:46:31 -0700</date><id>5c272220f1cf8a3bb8fd6814c963b3f9b271fe3a</id><msg>libbpibbpf-tools: fix tcpconnect types usage</msg><path><editType>edit</editType><file>libbpf-tools/tcpconnect.c</file></path><path><editType>edit</editType><file>libbpf-tools/tcpconnect.h</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>libbpf-tools/readahead.bpf.c</affectedPath><affectedPath>libbpf-tools/readahead.c</affectedPath><affectedPath>libbpf-tools/.gitignore</affectedPath><affectedPath>libbpf-tools/Makefile</affectedPath><affectedPath>libbpf-tools/readahead.h</affectedPath><commitId>fb54a822d54ab80e6e36755e7de5285e6f06f410</commitId><timestamp>1597378175000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>libbpf-tools: add CO-RE readahead

Signed-off-by: Wenbo Zhang &lt;ethercflow@gmail.com&gt;
</comment><date>2020-08-13 21:09:35 -0700</date><id>fb54a822d54ab80e6e36755e7de5285e6f06f410</id><msg>libbpf-tools: add CO-RE readahead</msg><path><editType>add</editType><file>libbpf-tools/readahead.bpf.c</file></path><path><editType>edit</editType><file>libbpf-tools/.gitignore</file></path><path><editType>edit</editType><file>libbpf-tools/Makefile</file></path><path><editType>add</editType><file>libbpf-tools/readahead.c</file></path><path><editType>add</editType><file>libbpf-tools/readahead.h</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>libbpf-tools/tcpconnlat.h</affectedPath><affectedPath>libbpf-tools/tcpconnlat.c</affectedPath><commitId>7d081eb03d8a3412cfcdcf2a5cfc99047eb08bc1</commitId><timestamp>1597559037000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>libbpf-tools: fix tcpconnlat types usage

Signed-off-by: Wenbo Zhang &lt;ethercflow@gmail.com&gt;
</comment><date>2020-08-15 23:23:57 -0700</date><id>7d081eb03d8a3412cfcdcf2a5cfc99047eb08bc1</id><msg>libbpf-tools: fix tcpconnlat types usage</msg><path><editType>edit</editType><file>libbpf-tools/tcpconnlat.h</file></path><path><editType>edit</editType><file>libbpf-tools/tcpconnlat.c</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>docs/reference_guide.md</affectedPath><commitId>639e83ff2a57eacac315f0389f79ae331eaf3e5c</commitId><timestamp>1597686399000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>docs: fix broken links
</comment><date>2020-08-17 10:46:39 -0700</date><id>639e83ff2a57eacac315f0389f79ae331eaf3e5c</id><msg>docs: fix broken links</msg><path><editType>edit</editType><file>docs/reference_guide.md</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>src/python/bcc/__init__.py</affectedPath><commitId>49beed88ee27c8f86e50ac29064664671757d930</commitId><timestamp>1597883349000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>Forbid trampolines for archs other than x86_64

The trampoline support check in bcc does not work properly,
so the feature is detected even on architectures that do not
support it - all archs other than x86_64.

We are checking for bpf_trampoline_link_prog to exist in
kernel, which works fine on x86_64 to check if the feature
is supported, but it's global function, so it exists also
in other archs even when the feature is not supported
so it returns True also on other archs.

Adding explicit x86_64 check to support_kfunc function.

Signed-off-by: Jiri Olsa &lt;jolsa@kernel.org&gt;
</comment><date>2020-08-19 17:29:09 -0700</date><id>49beed88ee27c8f86e50ac29064664671757d930</id><msg>Forbid trampolines for archs other than x86_64</msg><path><editType>edit</editType><file>src/python/bcc/__init__.py</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>docs/kernel-versions.md</affectedPath><commitId>e73e1f67b0167edbbe2e261997e3ae9e72e23757</commitId><timestamp>1597883458000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/noreply</absoluteUrl><fullName>noreply</fullName></author><authorEmail>noreply@github.com</authorEmail><comment>kernel-versions.md: document map UAPI features (#3058)

Document kernel versions for userspace API features regarding map manipulation.
</comment><date>2020-08-19 17:30:58 -0700</date><id>e73e1f67b0167edbbe2e261997e3ae9e72e23757</id><msg>kernel-versions.md: document map UAPI features (#3058)</msg><path><editType>edit</editType><file>docs/kernel-versions.md</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>man/man8/funccount.8</affectedPath><affectedPath>tools/funccount_example.txt</affectedPath><affectedPath>tools/funccount.py</affectedPath><commitId>f4e65ac41bec1613c7cb54270f09d16411aaf89c</commitId><timestamp>1597985973000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/noreply</absoluteUrl><fullName>noreply</fullName></author><authorEmail>noreply@github.com</authorEmail><comment>tools/funccount: support funccount on specified CPU (#3059)

A typical case of this feature: count timer setting on a x86 server
for each CPU:
 for i in `seq 0 39`;
   do ./funccount.py -i 1 lapic_next_deadline -d 5 -c $i;
 done

Then we can know the timer setting is balanced of not and do some
futher work.

Signed-off-by: zhenwei pi &lt;pizhenwei@bytedance.com&gt;
</comment><date>2020-08-20 21:59:33 -0700</date><id>f4e65ac41bec1613c7cb54270f09d16411aaf89c</id><msg>tools/funccount: support funccount on specified CPU (#3059)</msg><path><editType>edit</editType><file>tools/funccount_example.txt</file></path><path><editType>edit</editType><file>man/man8/funccount.8</file></path><path><editType>edit</editType><file>tools/funccount.py</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>src/python/bcc/__init__.py</affectedPath><commitId>785924b337f27c6e09b5a83ae4afac3d3c3fec7a</commitId><timestamp>1597987313000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>Extend PerfType members

You can use

    b.attach_perf_event(ev_type=PerfType.RAW, ...)

to attach perf raw event for profiling.

Signed-off-by: Edward Wu &lt;edwardwu@realtek.com&gt;
</comment><date>2020-08-20 22:21:53 -0700</date><id>785924b337f27c6e09b5a83ae4afac3d3c3fec7a</id><msg>Extend PerfType members</msg><path><editType>edit</editType><file>src/python/bcc/__init__.py</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>libbpf-tools/biostacks.bpf.c</affectedPath><affectedPath>libbpf-tools/biostacks.h</affectedPath><affectedPath>libbpf-tools/trace_helpers.c</affectedPath><affectedPath>libbpf-tools/trace_helpers.h</affectedPath><affectedPath>libbpf-tools/biostacks.c</affectedPath><affectedPath>libbpf-tools/Makefile</affectedPath><affectedPath>libbpf-tools/.gitignore</affectedPath><commitId>71c22fcaa688a1aea92a9588b1a60a7e2329f38b</commitId><timestamp>1597988734000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>libbpf-tools: add CO-RE biostacks

Signed-off-by: Wenbo Zhang &lt;ethercflow@gmail.com&gt;
</comment><date>2020-08-20 22:45:34 -0700</date><id>71c22fcaa688a1aea92a9588b1a60a7e2329f38b</id><msg>libbpf-tools: add CO-RE biostacks</msg><path><editType>add</editType><file>libbpf-tools/biostacks.c</file></path><path><editType>edit</editType><file>libbpf-tools/Makefile</file></path><path><editType>edit</editType><file>libbpf-tools/.gitignore</file></path><path><editType>edit</editType><file>libbpf-tools/trace_helpers.h</file></path><path><editType>add</editType><file>libbpf-tools/biostacks.bpf.c</file></path><path><editType>add</editType><file>libbpf-tools/biostacks.h</file></path><path><editType>edit</editType><file>libbpf-tools/trace_helpers.c</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>src/cc/libbpf</affectedPath><commitId>a79ec23adac0b267f1547b938392121da7403eea</commitId><timestamp>1598122173000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>sync libbpf repo release 0.1.0

Signed-off-by: Yonghong Song &lt;yhs@fb.com&gt;
</comment><date>2020-08-22 11:49:33 -0700</date><id>a79ec23adac0b267f1547b938392121da7403eea</id><msg>sync libbpf repo release 0.1.0</msg><path><editType>edit</editType><file>src/cc/libbpf</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>debian/changelog</affectedPath><commitId>fecd934a9c0ff581890d218ff6c5101694e9b326</commitId><timestamp>1598132087000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>prepare for release v0.16.0

add changelog for release v0.16.0

Signed-off-by: Yonghong Song &lt;yhs@fb.com&gt;
</comment><date>2020-08-22 14:34:47 -0700</date><id>fecd934a9c0ff581890d218ff6c5101694e9b326</id><msg>prepare for release v0.16.0</msg><path><editType>edit</editType><file>debian/changelog</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>src/cc/libbpf</affectedPath><affectedPath>src/cc/bcc_btf.h</affectedPath><affectedPath>src/cc/compat/linux/virtual_bpf.h</affectedPath><affectedPath>src/cc/bcc_btf.cc</affectedPath><commitId>43910c44121999592833cf20e8334997f2b6c470</commitId><timestamp>1598136722000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>sync with libbpf repo

sync with latest libbpf repo.

Strut definition for btf_ext_header is defined in libbpf/src/btf.h
previously and used by bcc. Now, the struct is moved to
libbpf/src/libbpf_internal.h and not available to bcc.
We do not want to include libbpf/src/libbpf_internal.h as
it is really libbpf internal. Let us define bcc version
of btf_ext_header with struct name bcc_btf_ext_header.
The new name is to avoid conflict when compiling with
old libbpf package.

Signed-off-by: Yonghong Song &lt;yhs@fb.com&gt;
</comment><date>2020-08-22 15:52:02 -0700</date><id>43910c44121999592833cf20e8334997f2b6c470</id><msg>sync with libbpf repo</msg><path><editType>edit</editType><file>src/cc/compat/linux/virtual_bpf.h</file></path><path><editType>edit</editType><file>src/cc/libbpf</file></path><path><editType>edit</editType><file>src/cc/bcc_btf.cc</file></path><path><editType>edit</editType><file>src/cc/bcc_btf.h</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>src/python/bcc/__init__.py</affectedPath><commitId>60de17161fe7f44b534a8da343edbad2427220e3</commitId><timestamp>1598593844000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>fix the exits abnormal due to trace buffer

Some data may be left in the trace buffer, and the format cannot be
parsed by trace_fields(), which whill cause an abnormality in the
system.

Re-running the program cannot solved, only restart kernel.

Call trace:
      File "/usr/lib/python2.7/site-packages/kwaibcc/__init__.py", line 1273, in trace_fields
        pid, cpu, flags, ts = line[:ts_end].split()
    ValueError: need more than 2 values to unpack

Prevent problems with exception handling.

Signed-off-by: Chen Guanqiao &lt;chen.chenchacha@foxmail.com&gt;
</comment><date>2020-08-27 22:50:44 -0700</date><id>60de17161fe7f44b534a8da343edbad2427220e3</id><msg>fix the exits abnormal due to trace buffer</msg><path><editType>edit</editType><file>src/python/bcc/__init__.py</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>docs/tutorial_bcc_python_developer.md</affectedPath><commitId>fc92caa08f52533dd18cff6bf9e3438c75ca5cb3</commitId><timestamp>1598595486000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>doc: fix mismatched link

Signed-off-by: zhuangqh &lt;zhuangqhc@gmail.com&gt;
</comment><date>2020-08-27 23:18:06 -0700</date><id>fc92caa08f52533dd18cff6bf9e3438c75ca5cb3</id><msg>doc: fix mismatched link</msg><path><editType>edit</editType><file>docs/tutorial_bcc_python_developer.md</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>tools/capable.py</affectedPath><commitId>0e7304eab277320bf0b0014a3940541aadea03e0</commitId><timestamp>1599005285000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>tools/capable: support new capabilities

This commit adds the support of below capabilities.
* CAP_PERFMON
* CAP_BPF
* CAP_CHECKPOINT_RESTORE

Signed-off-by: Kenta Tada &lt;Kenta.Tada@sony.com&gt;
</comment><date>2020-09-01 17:08:05 -0700</date><id>0e7304eab277320bf0b0014a3940541aadea03e0</id><msg>tools/capable: support new capabilities</msg><path><editType>edit</editType><file>tools/capable.py</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>examples/networking/http_filter/http-parse-complete.c</affectedPath><affectedPath>examples/networking/http_filter/http-parse-simple.c</affectedPath><affectedPath>examples/networking/vlan_filter/data-plane-tracing.c</affectedPath><commitId>892475f3c9a98fba4188a5077623e44e2fca9c5e</commitId><timestamp>1599005300000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>fix retruning typo
</comment><date>2020-09-01 17:08:20 -0700</date><id>892475f3c9a98fba4188a5077623e44e2fca9c5e</id><msg>fix retruning typo</msg><path><editType>edit</editType><file>examples/networking/http_filter/http-parse-complete.c</file></path><path><editType>edit</editType><file>examples/networking/http_filter/http-parse-simple.c</file></path><path><editType>edit</editType><file>examples/networking/vlan_filter/data-plane-tracing.c</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>tests/cc/test_usdt_args.cc</affectedPath><commitId>43440348edc4e4687e370427f66a16fca0f34e91</commitId><timestamp>1599059209000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>tests: only run arg parser test on supported arches

Fixes #3077

Signed-off-by: Rafael Fonseca &lt;r4f4rfs@gmail.com&gt;
</comment><date>2020-09-02 08:06:49 -0700</date><id>43440348edc4e4687e370427f66a16fca0f34e91</id><msg>tests: only run arg parser test on supported arches</msg><path><editType>edit</editType><file>tests/cc/test_usdt_args.cc</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>INSTALL.md</affectedPath><commitId>7ac370b97bc9284105598460160875b2e5235018</commitId><timestamp>1599594474000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>Add instructions on how to install amazon linux 2 from source
</comment><date>2020-09-08 12:47:54 -0700</date><id>7ac370b97bc9284105598460160875b2e5235018</id><msg>Add instructions on how to install amazon linux 2 from source</msg><path><editType>edit</editType><file>INSTALL.md</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>tools/memleak.py</affectedPath><commitId>b8e661fb8238cdf3b2cfa6575e843dc3a2f7f3ec</commitId><timestamp>1599633795000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>memleak: fix false positive on failed allocations

memleak tool reports a failed allocation as a leak,
because the NULL address is never freed.

Signed-off-by: Amir Goldstein &lt;amir73il@gmail.com&gt;
</comment><date>2020-09-08 23:43:15 -0700</date><id>b8e661fb8238cdf3b2cfa6575e843dc3a2f7f3ec</id><msg>memleak: fix false positive on failed allocations</msg><path><editType>edit</editType><file>tools/memleak.py</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>tools/tcprtt_example.txt</affectedPath><affectedPath>man/man8/tcprtt.8</affectedPath><affectedPath>tools/tcprtt.py</affectedPath><commitId>e42ac4176998a6dcf0dbf3b6befeaad0a69cb98a</commitId><timestamp>1599633896000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>tools/tcprtt: add tcprtt to trace the RTT of TCP

This program traces TCP RTT(round-trip time) to analyze the quality of
network, then help us to distinguish the network latency trouble is
from user process or physical network.

Currently, support source address/port and destination address/port as
tcp filter.

Suggested-by: Edward Wu &lt;edwardwu@realtek.com&gt;
Suggested-by: Martin KaFai Lau &lt;kafai@fb.com&gt;
Signed-off-by: zhenwei pi &lt;pizhenwei@bytedance.com&gt;
</comment><date>2020-09-08 23:44:56 -0700</date><id>e42ac4176998a6dcf0dbf3b6befeaad0a69cb98a</id><msg>tools/tcprtt: add tcprtt to trace the RTT of TCP</msg><path><editType>add</editType><file>tools/tcprtt_example.txt</file></path><path><editType>add</editType><file>man/man8/tcprtt.8</file></path><path><editType>add</editType><file>tools/tcprtt.py</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>tools/netqtop.c</affectedPath><affectedPath>tools/netqtop.py</affectedPath><affectedPath>tools/netqtop_example.txt</affectedPath><affectedPath>man/man8/netqtop.8</affectedPath><affectedPath>README.md</affectedPath><commitId>ba73657cb8c4dab83dfb89eed4a8b3866255569a</commitId><timestamp>1599847529000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/noreply</absoluteUrl><fullName>noreply</fullName></author><authorEmail>noreply@github.com</authorEmail><comment>Netqtop 3037 (#3048)

The tool netqtop uses tracepoints NET_DEV_START_XMIT and NETIF_RECEIVE_SKB to intercept every transmitted and received packet, as a result, considerable performance descent is expected.
Details for some performance evaluation can be found at
   https://github.com/iovisor/bcc/pull/3048
</comment><date>2020-09-11 11:05:29 -0700</date><id>ba73657cb8c4dab83dfb89eed4a8b3866255569a</id><msg>Netqtop 3037 (#3048)</msg><path><editType>add</editType><file>man/man8/netqtop.8</file></path><path><editType>add</editType><file>tools/netqtop.py</file></path><path><editType>add</editType><file>tools/netqtop.c</file></path><path><editType>edit</editType><file>README.md</file></path><path><editType>add</editType><file>tools/netqtop_example.txt</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>tools/threadsnoop_example.txt</affectedPath><affectedPath>tools/threadsnoop.py</affectedPath><affectedPath>man/man8/threadsnoop.8</affectedPath><affectedPath>README.md</affectedPath><commitId>3f95637a304d09921b880b6ba6d2fd04a19514fb</commitId><timestamp>1600322181000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>add threadsnoop
</comment><date>2020-09-16 22:56:21 -0700</date><id>3f95637a304d09921b880b6ba6d2fd04a19514fb</id><msg>add threadsnoop</msg><path><editType>add</editType><file>tools/threadsnoop_example.txt</file></path><path><editType>add</editType><file>man/man8/threadsnoop.8</file></path><path><editType>add</editType><file>tools/threadsnoop.py</file></path><path><editType>edit</editType><file>README.md</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>tools/tcpsynbl.py</affectedPath><affectedPath>man/man8/tcpsynbl.8</affectedPath><affectedPath>tools/tcpsynbl_example.txt</affectedPath><affectedPath>README.md</affectedPath><commitId>12c234f9f68149ab3225a057d011d362416a42f8</commitId><timestamp>1600322181000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>add tcpsynbl
</comment><date>2020-09-16 22:56:21 -0700</date><id>12c234f9f68149ab3225a057d011d362416a42f8</id><msg>add tcpsynbl</msg><path><editType>add</editType><file>tools/tcpsynbl_example.txt</file></path><path><editType>add</editType><file>tools/tcpsynbl.py</file></path><path><editType>add</editType><file>man/man8/tcpsynbl.8</file></path><path><editType>edit</editType><file>README.md</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>tools/swapin_example.py</affectedPath><affectedPath>man/man8/swapin.8</affectedPath><affectedPath>tools/swapin.py</affectedPath><affectedPath>README.md</affectedPath><commitId>da8c6a9a3278545842557cb50671a9e051de173c</commitId><timestamp>1600322181000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>add swapin
</comment><date>2020-09-16 22:56:21 -0700</date><id>da8c6a9a3278545842557cb50671a9e051de173c</id><msg>add swapin</msg><path><editType>add</editType><file>tools/swapin_example.py</file></path><path><editType>add</editType><file>tools/swapin.py</file></path><path><editType>add</editType><file>man/man8/swapin.8</file></path><path><editType>edit</editType><file>README.md</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>libbpf-tools/hardirqs.h</affectedPath><affectedPath>libbpf-tools/hardirqs.bpf.c</affectedPath><affectedPath>libbpf-tools/hardirqs.c</affectedPath><affectedPath>libbpf-tools/.gitignore</affectedPath><affectedPath>libbpf-tools/Makefile</affectedPath><commitId>3953c6001e8ee67b9c01abeb0405ffd973f38642</commitId><timestamp>1600322388000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>libbpf-tools: add hardirqs

Signed-off-by: Wenbo Zhang &lt;ethercflow@gmail.com&gt;
</comment><date>2020-09-16 22:59:48 -0700</date><id>3953c6001e8ee67b9c01abeb0405ffd973f38642</id><msg>libbpf-tools: add hardirqs</msg><path><editType>edit</editType><file>libbpf-tools/.gitignore</file></path><path><editType>add</editType><file>libbpf-tools/hardirqs.bpf.c</file></path><path><editType>add</editType><file>libbpf-tools/hardirqs.h</file></path><path><editType>edit</editType><file>libbpf-tools/Makefile</file></path><path><editType>add</editType><file>libbpf-tools/hardirqs.c</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>libbpf-tools/softirqs.c</affectedPath><affectedPath>libbpf-tools/softirqs.bpf.c</affectedPath><affectedPath>libbpf-tools/softirqs.h</affectedPath><affectedPath>libbpf-tools/.gitignore</affectedPath><affectedPath>libbpf-tools/Makefile</affectedPath><commitId>bf4668d4a0c0144f1b5e3ed89696e5493daf3af4</commitId><timestamp>1600322428000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>libbpf-tools: add softirqs

Signed-off-by: Wenbo Zhang &lt;ethercflow@gmail.com&gt;
</comment><date>2020-09-16 23:00:28 -0700</date><id>bf4668d4a0c0144f1b5e3ed89696e5493daf3af4</id><msg>libbpf-tools: add softirqs</msg><path><editType>add</editType><file>libbpf-tools/softirqs.c</file></path><path><editType>add</editType><file>libbpf-tools/softirqs.bpf.c</file></path><path><editType>edit</editType><file>libbpf-tools/.gitignore</file></path><path><editType>edit</editType><file>libbpf-tools/Makefile</file></path><path><editType>add</editType><file>libbpf-tools/softirqs.h</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>libbpf-tools/runqlat.bpf.c</affectedPath><affectedPath>libbpf-tools/trace_helpers.c</affectedPath><affectedPath>libbpf-tools/runqlat.h</affectedPath><affectedPath>libbpf-tools/trace_helpers.h</affectedPath><affectedPath>libbpf-tools/runqlat.c</affectedPath><affectedPath>libbpf-tools/.gitignore</affectedPath><affectedPath>libbpf-tools/Makefile</affectedPath><commitId>48b7d61681ac6d4a32050d696d2eb9b2dd837c5f</commitId><timestamp>1600322481000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>libbpf-tools: add runqlat

Signed-off-by: Wenbo Zhang &lt;ethercflow@gmail.com&gt;
</comment><date>2020-09-16 23:01:21 -0700</date><id>48b7d61681ac6d4a32050d696d2eb9b2dd837c5f</id><msg>libbpf-tools: add runqlat</msg><path><editType>edit</editType><file>libbpf-tools/trace_helpers.h</file></path><path><editType>edit</editType><file>libbpf-tools/.gitignore</file></path><path><editType>edit</editType><file>libbpf-tools/trace_helpers.c</file></path><path><editType>edit</editType><file>libbpf-tools/Makefile</file></path><path><editType>add</editType><file>libbpf-tools/runqlat.c</file></path><path><editType>add</editType><file>libbpf-tools/runqlat.bpf.c</file></path><path><editType>add</editType><file>libbpf-tools/runqlat.h</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>libbpf-tools/runqlen.h</affectedPath><affectedPath>libbpf-tools/runqlen.c</affectedPath><affectedPath>libbpf-tools/trace_helpers.c</affectedPath><affectedPath>libbpf-tools/trace_helpers.h</affectedPath><affectedPath>libbpf-tools/runqlen.bpf.c</affectedPath><affectedPath>libbpf-tools/Makefile</affectedPath><affectedPath>libbpf-tools/.gitignore</affectedPath><commitId>911ce07ddf156d23e8aabd30040e94f99ce4e518</commitId><timestamp>1600405934000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>libbpf-tools: add runqlen

Signed-off-by: Wenbo Zhang &lt;ethercflow@gmail.com&gt;
</comment><date>2020-09-17 22:12:14 -0700</date><id>911ce07ddf156d23e8aabd30040e94f99ce4e518</id><msg>libbpf-tools: add runqlen</msg><path><editType>edit</editType><file>libbpf-tools/Makefile</file></path><path><editType>add</editType><file>libbpf-tools/runqlen.bpf.c</file></path><path><editType>edit</editType><file>libbpf-tools/.gitignore</file></path><path><editType>add</editType><file>libbpf-tools/runqlen.c</file></path><path><editType>edit</editType><file>libbpf-tools/trace_helpers.c</file></path><path><editType>edit</editType><file>libbpf-tools/trace_helpers.h</file></path><path><editType>add</editType><file>libbpf-tools/runqlen.h</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>libbpf-tools/numamove.bpf.c</affectedPath><affectedPath>libbpf-tools/numamove.c</affectedPath><affectedPath>libbpf-tools/.gitignore</affectedPath><affectedPath>libbpf-tools/Makefile</affectedPath><commitId>caaeb0a87c95f0dd1ac1f1b0c260ec2f6c8a3c94</commitId><timestamp>1600405964000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>libbpf-tools: add numamove

Signed-off-by: Wenbo Zhang &lt;ethercflow@gmail.com&gt;
</comment><date>2020-09-17 22:12:44 -0700</date><id>caaeb0a87c95f0dd1ac1f1b0c260ec2f6c8a3c94</id><msg>libbpf-tools: add numamove</msg><path><editType>add</editType><file>libbpf-tools/numamove.bpf.c</file></path><path><editType>edit</editType><file>libbpf-tools/.gitignore</file></path><path><editType>edit</editType><file>libbpf-tools/Makefile</file></path><path><editType>add</editType><file>libbpf-tools/numamove.c</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>examples/tracing/strlen_hist_ifunc.py</affectedPath><commitId>39a2a8f02cc3871ab375b005a00e296aa668d9ec</commitId><timestamp>1600541176000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>Add uretprobe example for indirect function

Already there is strlen_hist.py as a nice example of uretprobe. But it can
not work correctly if strlen is indirect function(IFUNC). So
strlen_hist_ifunc.py is introduced to show how to use uprobe/uretprobe for
indirect functions.
</comment><date>2020-09-19 11:46:16 -0700</date><id>39a2a8f02cc3871ab375b005a00e296aa668d9ec</id><msg>Add uretprobe example for indirect function</msg><path><editType>add</editType><file>examples/tracing/strlen_hist_ifunc.py</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>tools/tcpstates.py</affectedPath><commitId>e548dd5728332da4bee048cc1b6775af8183f040</commitId><timestamp>1601062915000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>tools/tcpstates: remove unnecessary checking of TCP
</comment><date>2020-09-25 12:41:55 -0700</date><id>e548dd5728332da4bee048cc1b6775af8183f040</id><msg>tools/tcpstates: remove unnecessary checking of TCP</msg><path><editType>edit</editType><file>tools/tcpstates.py</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>tools/readahead_example.txt</affectedPath><affectedPath>README.md</affectedPath><affectedPath>tools/readahead.py</affectedPath><affectedPath>man/man8/readahead.8</affectedPath><commitId>561a71e105985ad04f5eb070b3487f5317f063b3</commitId><timestamp>1601306263000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>tool: port readahead tool to bcc
</comment><date>2020-09-28 08:17:43 -0700</date><id>561a71e105985ad04f5eb070b3487f5317f063b3</id><msg>tool: port readahead tool to bcc</msg><path><editType>edit</editType><file>README.md</file></path><path><editType>add</editType><file>tools/readahead.py</file></path><path><editType>add</editType><file>tools/readahead_example.txt</file></path><path><editType>add</editType><file>man/man8/readahead.8</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>tools/tcprtt_example.txt</affectedPath><affectedPath>man/man8/tcprtt.8</affectedPath><affectedPath>tools/tcprtt.py</affectedPath><affectedPath>README.md</affectedPath><commitId>4cbcd9afa83226405abd773212ed423c5d06fd26</commitId><timestamp>1601309258000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/noreply</absoluteUrl><fullName>noreply</fullName></author><authorEmail>noreply@github.com</authorEmail><comment>tcprtt: add --byladdr/--byraddr (#3106)

On a server side, a server listens a local port and accepts lots of
connections. To seperate histogram into views by each remote address,
so add --byraddr to support this.

Suggested-by: Brendan Gregg &lt;brendan.d.gregg@gmail.com&gt;
Signed-off-by: zhenwei pi &lt;pizhenwei@bytedance.com&gt;
</comment><date>2020-09-28 09:07:38 -0700</date><id>4cbcd9afa83226405abd773212ed423c5d06fd26</id><msg>tcprtt: add --byladdr/--byraddr (#3106)</msg><path><editType>edit</editType><file>README.md</file></path><path><editType>edit</editType><file>man/man8/tcprtt.8</file></path><path><editType>edit</editType><file>tools/tcprtt.py</file></path><path><editType>edit</editType><file>tools/tcprtt_example.txt</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>tools/funclatency.py</affectedPath><affectedPath>tools/funclatency_example.txt</affectedPath><commitId>af90bd470a649e1276a7626edb1e5484f0ece8b3</commitId><timestamp>1601316096000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/noreply</absoluteUrl><fullName>noreply</fullName></author><authorEmail>noreply@github.com</authorEmail><comment>add average function latency (#3061)

* add average function latency
* update example.txt
</comment><date>2020-09-28 11:01:36 -0700</date><id>af90bd470a649e1276a7626edb1e5484f0ece8b3</id><msg>add average function latency (#3061)</msg><path><editType>edit</editType><file>tools/funclatency_example.txt</file></path><path><editType>edit</editType><file>tools/funclatency.py</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>tools/slabratetop.py</affectedPath><commitId>788303ead582d5fc70066443b2a94f5c482b53d9</commitId><timestamp>1601340802000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>slabratetop: Add memcg_cache_params struct def

struct memcg_cache_params moved from include/linux/slab.h to
mm/slab.h in kernel v5.4, causing a compiler error when including
slub_def.h or slab_def.h in slabratetop's bpf program.

It has been removed completely from kernel version 5.9.

Add an empty memcg_cache_params struct in slabratetop's bpf
program so it will compile with kernel versions 5.4 to 5.8.
</comment><date>2020-09-28 17:53:22 -0700</date><id>788303ead582d5fc70066443b2a94f5c482b53d9</id><msg>slabratetop: Add memcg_cache_params struct def</msg><path><editType>edit</editType><file>tools/slabratetop.py</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>tools/tcpdrop.py</affectedPath><commitId>7e3f0c08c7c28757711c0a173b5bd7d9a31cf7ee</commitId><timestamp>1601485048000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>Fix v6 source (remote) and dest (local) address

For v6, tcpdrop.py would report the source and destination addresses incorrectly - tcp_drop() covers the input path, where the source of the received packet is the daddr stored in the socket, while the destination of the received packet is the local address.   This commit swaps them to be correct and leaves a comment since it is not obvious.
</comment><date>2020-09-30 09:57:28 -0700</date><id>7e3f0c08c7c28757711c0a173b5bd7d9a31cf7ee</id><msg>Fix v6 source (remote) and dest (local) address</msg><path><editType>edit</editType><file>tools/tcpdrop.py</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>tools/tcptracer.py</affectedPath><commitId>21b810a3b297411452a41336d239002687e5607f</commitId><timestamp>1601565460000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>tools: tcptracer: fix alignement in tcp_ipv6_event_t

On IPv6, tcptracer ports always appears as zeros:

Tracing TCP established connections. Ctrl-C to end.
T  PID    COMM             IP SADDR            DADDR            SPORT  DPORT
X  7055   nc               4  127.0.0.1        127.0.0.1        49476  9999
C  7074   nc               4  127.0.0.1        127.0.0.1        49478  9999
X  7074   nc               4  127.0.0.1        127.0.0.1        49478  9999
C  7085   nc               6  [::]             [0:0:0:1::]      0      0
X  7085   nc               6  [::]             [0:0:0:1::]      0      0
C  7086   nc               6  [::]             [0:0:0:1::]      0      0

This seems related to alignment issue wrt to the __int128 type in
tcp_ipv6_event_t structure. Moving the u8 field ip to the end of the
structure fixes the issue.

Fixes #2781
</comment><date>2020-10-01 08:17:40 -0700</date><id>21b810a3b297411452a41336d239002687e5607f</id><msg>tools: tcptracer: fix alignement in tcp_ipv6_event_t</msg><path><editType>edit</editType><file>tools/tcptracer.py</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>tools/biolatency.py</affectedPath><commitId>87792ce6b783941ea1d8bcd29812a55520930c95</commitId><timestamp>1601565488000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>tools/biolatency: Handle signals from user
</comment><date>2020-10-01 08:18:08 -0700</date><id>87792ce6b783941ea1d8bcd29812a55520930c95</id><msg>tools/biolatency: Handle signals from user</msg><path><editType>edit</editType><file>tools/biolatency.py</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>libbpf-tools/tcpconnlat.h</affectedPath><affectedPath>libbpf-tools/xfsslower.h</affectedPath><affectedPath>libbpf-tools/bitesize.bpf.c</affectedPath><affectedPath>libbpf-tools/tcpconnect.bpf.c</affectedPath><affectedPath>libbpf-tools/xfsslower.c</affectedPath><affectedPath>libbpf-tools/drsnoop.bpf.c</affectedPath><affectedPath>libbpf-tools/biolatency.bpf.c</affectedPath><affectedPath>libbpf-tools/trace_helpers.c</affectedPath><affectedPath>libbpf-tools/filelife.c</affectedPath><affectedPath>libbpf-tools/biopattern.c</affectedPath><affectedPath>libbpf-tools/xfsslower.bpf.c</affectedPath><affectedPath>libbpf-tools/drsnoop.h</affectedPath><affectedPath>libbpf-tools/tcpconnlat.c</affectedPath><affectedPath>libbpf-tools/filelife.bpf.c</affectedPath><affectedPath>libbpf-tools/biopattern.h</affectedPath><affectedPath>libbpf-tools/bitesize.h</affectedPath><affectedPath>libbpf-tools/execsnoop.bpf.c</affectedPath><affectedPath>libbpf-tools/drsnoop.c</affectedPath><affectedPath>libbpf-tools/cpudist.c</affectedPath><affectedPath>libbpf-tools/biosnoop.c</affectedPath><affectedPath>libbpf-tools/readahead.bpf.c</affectedPath><affectedPath>libbpf-tools/biosnoop.h</affectedPath><affectedPath>libbpf-tools/biopattern.bpf.c</affectedPath><affectedPath>libbpf-tools/numamove.c</affectedPath><affectedPath>libbpf-tools/vfsstat.bpf.c</affectedPath><affectedPath>libbpf-tools/biostacks.h</affectedPath><affectedPath>libbpf-tools/drsnoop_example.txt</affectedPath><affectedPath>libbpf-tools/biosnoop.bpf.c</affectedPath><affectedPath>libbpf-tools/bitesize.c</affectedPath><affectedPath>libbpf-tools/biostacks.c</affectedPath><affectedPath>libbpf-tools/tcpconnlat.bpf.c</affectedPath><affectedPath>libbpf-tools/biolatency.h</affectedPath><affectedPath>libbpf-tools/opensnoop.bpf.c</affectedPath><affectedPath>libbpf-tools/filelife.h</affectedPath><affectedPath>libbpf-tools/readahead.c</affectedPath><affectedPath>libbpf-tools/biostacks.bpf.c</affectedPath><affectedPath>libbpf-tools/readahead.h</affectedPath><affectedPath>libbpf-tools/biolatency.c</affectedPath><affectedPath>libbpf-tools/runqslower.bpf.c</affectedPath><affectedPath>libbpf-tools/cpudist.bpf.c</affectedPath><commitId>73cf23b84d47d437dbd3a9fc7d1f170a1f082a15</commitId><timestamp>1601565515000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>libbpf-tools: make some minor refactoring

Signed-off-by: Wenbo Zhang &lt;ethercflow@gmail.com&gt;
</comment><date>2020-10-01 08:18:35 -0700</date><id>73cf23b84d47d437dbd3a9fc7d1f170a1f082a15</id><msg>libbpf-tools: make some minor refactoring</msg><path><editType>edit</editType><file>libbpf-tools/execsnoop.bpf.c</file></path><path><editType>edit</editType><file>libbpf-tools/trace_helpers.c</file></path><path><editType>edit</editType><file>libbpf-tools/cpudist.c</file></path><path><editType>edit</editType><file>libbpf-tools/filelife.bpf.c</file></path><path><editType>edit</editType><file>libbpf-tools/readahead.h</file></path><path><editType>edit</editType><file>libbpf-tools/biosnoop.c</file></path><path><editType>edit</editType><file>libbpf-tools/readahead.c</file></path><path><editType>edit</editType><file>libbpf-tools/tcpconnlat.bpf.c</file></path><path><editType>edit</editType><file>libbpf-tools/tcpconnlat.c</file></path><path><editType>edit</editType><file>libbpf-tools/xfsslower.c</file></path><path><editType>edit</editType><file>libbpf-tools/biolatency.c</file></path><path><editType>edit</editType><file>libbpf-tools/xfsslower.bpf.c</file></path><path><editType>edit</editType><file>libbpf-tools/biopattern.h</file></path><path><editType>edit</editType><file>libbpf-tools/filelife.c</file></path><path><editType>edit</editType><file>libbpf-tools/tcpconnlat.h</file></path><path><editType>edit</editType><file>libbpf-tools/filelife.h</file></path><path><editType>edit</editType><file>libbpf-tools/drsnoop_example.txt</file></path><path><editType>edit</editType><file>libbpf-tools/biosnoop.h</file></path><path><editType>edit</editType><file>libbpf-tools/biopattern.bpf.c</file></path><path><editType>edit</editType><file>libbpf-tools/drsnoop.h</file></path><path><editType>edit</editType><file>libbpf-tools/biostacks.h</file></path><path><editType>edit</editType><file>libbpf-tools/tcpconnect.bpf.c</file></path><path><editType>edit</editType><file>libbpf-tools/xfsslower.h</file></path><path><editType>edit</editType><file>libbpf-tools/drsnoop.c</file></path><path><editType>edit</editType><file>libbpf-tools/readahead.bpf.c</file></path><path><editType>edit</editType><file>libbpf-tools/biostacks.bpf.c</file></path><path><editType>edit</editType><file>libbpf-tools/runqslower.bpf.c</file></path><path><editType>edit</editType><file>libbpf-tools/bitesize.h</file></path><path><editType>edit</editType><file>libbpf-tools/cpudist.bpf.c</file></path><path><editType>edit</editType><file>libbpf-tools/drsnoop.bpf.c</file></path><path><editType>edit</editType><file>libbpf-tools/vfsstat.bpf.c</file></path><path><editType>edit</editType><file>libbpf-tools/bitesize.c</file></path><path><editType>edit</editType><file>libbpf-tools/biopattern.c</file></path><path><editType>edit</editType><file>libbpf-tools/biosnoop.bpf.c</file></path><path><editType>edit</editType><file>libbpf-tools/biolatency.bpf.c</file></path><path><editType>edit</editType><file>libbpf-tools/biostacks.c</file></path><path><editType>edit</editType><file>libbpf-tools/biolatency.h</file></path><path><editType>edit</editType><file>libbpf-tools/numamove.c</file></path><path><editType>edit</editType><file>libbpf-tools/opensnoop.bpf.c</file></path><path><editType>edit</editType><file>libbpf-tools/bitesize.bpf.c</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>tools/biolatency.py</affectedPath><commitId>17e14efccdd1324e39ad9413f2eeba5d93fc6b44</commitId><timestamp>1601592722000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>Revert "tools/biolatency: Handle signals from user"

This reverts commit 87792ce6b783941ea1d8bcd29812a55520930c95.

Let us have a consensus about how bcc tools should interact with
external signals etc. before applying such changes to this tool
and other tools.
</comment><date>2020-10-01 15:52:02 -0700</date><id>17e14efccdd1324e39ad9413f2eeba5d93fc6b44</id><msg>Revert "tools/biolatency: Handle signals from user"</msg><path><editType>edit</editType><file>tools/biolatency.py</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>src/cc/libbpf</affectedPath><affectedPath>src/cc/libbpf.c</affectedPath><affectedPath>introspection/bps.c</affectedPath><affectedPath>src/cc/compat/linux/virtual_bpf.h</affectedPath><affectedPath>src/cc/export/helpers.h</affectedPath><affectedPath>docs/kernel-versions.md</affectedPath><commitId>d0e1c932ff97401640cdfe02317c7583da775f19</commitId><timestamp>1601604040000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>sync with latest libbpf repo

11 new helpers are added so far in 5.10, added helper function prototypes
and related documentation, etc.

Signed-off-by: Yonghong Song &lt;yhs@fb.com&gt;
</comment><date>2020-10-01 19:00:40 -0700</date><id>d0e1c932ff97401640cdfe02317c7583da775f19</id><msg>sync with latest libbpf repo</msg><path><editType>edit</editType><file>introspection/bps.c</file></path><path><editType>edit</editType><file>src/cc/export/helpers.h</file></path><path><editType>edit</editType><file>src/cc/libbpf</file></path><path><editType>edit</editType><file>src/cc/compat/linux/virtual_bpf.h</file></path><path><editType>edit</editType><file>src/cc/libbpf.c</file></path><path><editType>edit</editType><file>docs/kernel-versions.md</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>docs/reference_guide.md</affectedPath><affectedPath>examples/cpp/SkLocalStorageIterator.cc</affectedPath><affectedPath>src/cc/libbpf.h</affectedPath><affectedPath>src/cc/export/helpers.h</affectedPath><affectedPath>examples/cpp/TaskIterator.cc</affectedPath><affectedPath>examples/cpp/CMakeLists.txt</affectedPath><affectedPath>src/cc/libbpf.c</affectedPath><commitId>5fe35766ac0e2860c7e6c1694a2338365e9497a6</commitId><timestamp>1601911966000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>add C++ bpf_iter support

bpf iterator is introduced in linux kernel 5.8.
  https://lore.kernel.org/bpf/20200509175859.2474608-1-yhs@fb.com/
In 5.8, iterator support for task, task_file, bpf_map, netlink_sock
and ipv6_route. In 5.9, tcp, udp and hash/array/sk_local_storage
map iterators are implemented.

This patch added necessary interface to support bpf_iter in bcc.
A few C++ APIs are added to bcc. Two bpf_iter examples,
task and sk_local_storage_map, are added to illustrate how
bpf iterator can be implemented. Python interface can be added
later if there is a need.

Signed-off-by: Yonghong Song &lt;yhs@fb.com&gt;
</comment><date>2020-10-05 08:32:46 -0700</date><id>5fe35766ac0e2860c7e6c1694a2338365e9497a6</id><msg>add C++ bpf_iter support</msg><path><editType>add</editType><file>examples/cpp/TaskIterator.cc</file></path><path><editType>edit</editType><file>examples/cpp/CMakeLists.txt</file></path><path><editType>add</editType><file>examples/cpp/SkLocalStorageIterator.cc</file></path><path><editType>edit</editType><file>src/cc/export/helpers.h</file></path><path><editType>edit</editType><file>docs/reference_guide.md</file></path><path><editType>edit</editType><file>src/cc/libbpf.c</file></path><path><editType>edit</editType><file>src/cc/libbpf.h</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>docs/reference_guide.md</affectedPath><commitId>5e55c22cc76687881e32ee997d79c056558b3479</commitId><timestamp>1602053085000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>docs: Add missing code block closure

Signed-off-by: Mauricio Vásquez &lt;mauricio@kinvolk.io&gt;
</comment><date>2020-10-06 23:44:45 -0700</date><id>5e55c22cc76687881e32ee997d79c056558b3479</id><msg>docs: Add missing code block closure</msg><path><editType>edit</editType><file>docs/reference_guide.md</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>tools/tcpconnect.py</affectedPath><affectedPath>tools/bindsnoop.py</affectedPath><commitId>884799f06d7e398f5cf3e1ad28e3feca16b1eac5</commitId><timestamp>1602131167000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>tools: Use correct key key when deleting item from map

The correct key to use is "tig" instead of "pid".

Signed-off-by: Mauricio Vásquez &lt;mauricio@kinvolk.io&gt;
</comment><date>2020-10-07 21:26:07 -0700</date><id>884799f06d7e398f5cf3e1ad28e3feca16b1eac5</id><msg>tools: Use correct key key when deleting item from map</msg><path><editType>edit</editType><file>tools/tcpconnect.py</file></path><path><editType>edit</editType><file>tools/bindsnoop.py</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>tools/sslsniff.py</affectedPath><commitId>49fdec6a53b524bde53e39d24b2f06ba44531eed</commitId><timestamp>1602170518000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>sslsniff: fix comparing bytes to string

Signed-off-by: keyolk &lt;chanhun.jeong@navercorp.com&gt;
</comment><date>2020-10-08 08:21:58 -0700</date><id>49fdec6a53b524bde53e39d24b2f06ba44531eed</id><msg>sslsniff: fix comparing bytes to string</msg><path><editType>edit</editType><file>tools/sslsniff.py</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>INSTALL.md</affectedPath><commitId>6ce68b940bd520ee827b1ff089f3baa2bb30f93b</commitId><timestamp>1602658941000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>Update installation instructions for Arch Linux

The bcc packages were recently moved from the AUR to the standard Arch
repos, so the installation instructions for Arch should be updated to
reflect that.

Additionally, the Arch "linux-lts" package was upgraded to 4.4.7 in
April 2016, so it is safe to assume that any Arch installations that are
still in use have been upgraded by this point. Therefore, the note about
upgrading to kernel 4.3.1 is removed.
</comment><date>2020-10-14 00:02:21 -0700</date><id>6ce68b940bd520ee827b1ff089f3baa2bb30f93b</id><msg>Update installation instructions for Arch Linux</msg><path><editType>edit</editType><file>INSTALL.md</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>tests/python/test_usdt2.py</affectedPath><commitId>4354c9ce33496df82c8ffd30497141daae28afaa</commitId><timestamp>1602659343000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>set larger range to get probes evnet for test_usdt2.py

I test test_usdt2.py on aarch64 with kernel-5.9-rc5,
gcc-9.2.1 and glibc2.32.
with the current range of 3, always get failure:
======================================================================
FAIL: test_attach1 (__main__.TestUDST)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test_usdt2.py", line 170, in test_attach1
    self.assertTrue(self.evt_st_6 == 1)
AssertionError: False is not true

----------------------------------------------------------------------
Ran 1 test in 1.068s

FAILED (failures=1)

Signed-off-by: Chunmei Xu &lt;xuchunmei@linux.alibaba.com&gt;
</comment><date>2020-10-14 00:09:03 -0700</date><id>4354c9ce33496df82c8ffd30497141daae28afaa</id><msg>set larger range to get probes evnet for test_usdt2.py</msg><path><editType>edit</editType><file>tests/python/test_usdt2.py</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>INSTALL.md</affectedPath><commitId>5f53dbe182da54d6a05931d69c289ed0a4ebc339</commitId><timestamp>1602824753000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>Add install instructions for Debian
</comment><date>2020-10-15 22:05:53 -0700</date><id>5f53dbe182da54d6a05931d69c289ed0a4ebc339</id><msg>Add install instructions for Debian</msg><path><editType>edit</editType><file>INSTALL.md</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>libbpf-tools/runqlen.bpf.c</affectedPath><affectedPath>libbpf-tools/softirqs.bpf.c</affectedPath><commitId>8c2d67e861e07f4125dc2b448f2dc5833b524a17</commitId><timestamp>1602824888000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>libbpf-tools: initialize global structs in runqlen and softirqs

Signed-off-by: Juraj Vijtiuk &lt;juraj.vijtiuk@sartura.hr&gt;
</comment><date>2020-10-15 22:08:08 -0700</date><id>8c2d67e861e07f4125dc2b448f2dc5833b524a17</id><msg>libbpf-tools: initialize global structs in runqlen and softirqs</msg><path><editType>edit</editType><file>libbpf-tools/runqlen.bpf.c</file></path><path><editType>edit</editType><file>libbpf-tools/softirqs.bpf.c</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>libbpf-tools/llcstat.bpf.c</affectedPath><affectedPath>libbpf-tools/llcstat.c</affectedPath><affectedPath>libbpf-tools/llcstat.h</affectedPath><affectedPath>libbpf-tools/Makefile</affectedPath><affectedPath>libbpf-tools/.gitignore</affectedPath><commitId>6929626b4c4ef610ea7dfa0568d5e2267c006313</commitId><timestamp>1602825812000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>libbpf-tools: add llcstat

Signed-off-by: Wenbo Zhang &lt;ethercflow@gmail.com&gt;
</comment><date>2020-10-15 22:23:32 -0700</date><id>6929626b4c4ef610ea7dfa0568d5e2267c006313</id><msg>libbpf-tools: add llcstat</msg><path><editType>add</editType><file>libbpf-tools/llcstat.bpf.c</file></path><path><editType>add</editType><file>libbpf-tools/llcstat.h</file></path><path><editType>edit</editType><file>libbpf-tools/Makefile</file></path><path><editType>add</editType><file>libbpf-tools/llcstat.c</file></path><path><editType>edit</editType><file>libbpf-tools/.gitignore</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>tools/dirtop.py</affectedPath><commitId>1efba05d3296907bf12558445ed698a459e081c4</commitId><timestamp>1602872357000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>Fix python2.7 support for dirtop tool

* Catch TypeError raised by Python3 glob and fall back to Python2 interface
</comment><date>2020-10-16 11:19:17 -0700</date><id>1efba05d3296907bf12558445ed698a459e081c4</id><msg>Fix python2.7 support for dirtop tool</msg><path><editType>edit</editType><file>tools/dirtop.py</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>tools/netqtop.py</affectedPath><affectedPath>tools/tcprtt.py</affectedPath><commitId>6ba4dc1fb110b1db4a3ba187fa60a152f64c413f</commitId><timestamp>1602873714000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>fix python3 compatible issue for netqtop and tcprtt tools

Otherwise, we have:
  ...
    File "bcc/tools/netqtop.py", line 54
      print(hd.center(COL_WIDTH)),
                                 ^
  TabError: inconsistent use of tabs and spaces in indentation
  ...

    File "bcc/tools/tcprtt.py", line 117, in &lt;module&gt;
    bpf_text = bpf_text.replace(b'LPORTFILTER', b'')
  TypeError: replace() argument 1 must be str, not bytes
  ...

Signed-off-by: Yonghong Song &lt;yhs@fb.com&gt;
</comment><date>2020-10-16 11:41:54 -0700</date><id>6ba4dc1fb110b1db4a3ba187fa60a152f64c413f</id><msg>fix python3 compatible issue for netqtop and tcprtt tools</msg><path><editType>edit</editType><file>tools/tcprtt.py</file></path><path><editType>edit</editType><file>tools/netqtop.py</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>tools/netqtop.py</affectedPath><commitId>ec3747ed6b16f9eec36a204dfbe3506d3778dcb4</commitId><timestamp>1603117270000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/noreply</absoluteUrl><fullName>noreply</fullName></author><authorEmail>noreply@github.com</authorEmail><comment>fix netqtop python3 compatible (#3140)

* fix netqtop python3 compatible
* delete import types
</comment><date>2020-10-19 07:21:10 -0700</date><id>ec3747ed6b16f9eec36a204dfbe3506d3778dcb4</id><msg>fix netqtop python3 compatible (#3140)</msg><path><editType>edit</editType><file>tools/netqtop.py</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>src/cc/api/BPF.cc</affectedPath><affectedPath>src/cc/libbpf.c</affectedPath><affectedPath>src/cc/api/BPF.h</affectedPath><affectedPath>src/cc/libbpf.h</affectedPath><commitId>50f2009c7521e7d245372839cdb6b9cd6924202b</commitId><timestamp>1603137136000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/danobi</absoluteUrl><fullName>Daniel Xu</fullName></author><authorEmail>dxu@dxuuu.xyz</authorEmail><comment>uprobe: Add ref_cnt_offset arg to bpf_attach_uprobe

This argument allows callers to tell the kernel to manage USDT semaphore
counts. It's better than fiddling with the counts in userspace b/c if
the userspace program crashes then the semaphore count does not get
decremented.

It's also better b/c the kernel can activate the semaphore for all
processes that have the target mapped into memory. Currently with bcc,
you have to provide the pid of each process you want to activate a
semaphore for and then bcc will go poke /proc/pid/mem at the right
offset.
</comment><date>2020-10-19 12:52:16 -0700</date><id>50f2009c7521e7d245372839cdb6b9cd6924202b</id><msg>uprobe: Add ref_cnt_offset arg to bpf_attach_uprobe</msg><path><editType>edit</editType><file>src/cc/libbpf.c</file></path><path><editType>edit</editType><file>src/cc/api/BPF.h</file></path><path><editType>edit</editType><file>src/cc/libbpf.h</file></path><path><editType>edit</editType><file>src/cc/api/BPF.cc</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>src/cc/usdt/usdt.cc</affectedPath><affectedPath>src/cc/usdt.h</affectedPath><affectedPath>src/cc/bcc_usdt.h</affectedPath><affectedPath>src/cc/bcc_elf.h</affectedPath><affectedPath>src/cc/bcc_elf.c</affectedPath><commitId>3f0c5f08a57d554640147ad526e0656def0ee251</commitId><timestamp>1603137136000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/danobi</absoluteUrl><fullName>Daniel Xu</fullName></author><authorEmail>dxu@dxuuu.xyz</authorEmail><comment>usdt: Calculate and suppply semaphore_offset values in APIs

`semaphore_offset` is the offset from the start of the file the
usdt semaphore can be found. This is different than the already exiting
`semaphore` value which is the virtual address the usdt semaphore can be
found at (after load).

The reason we need to calculate and export this `semaphore_offset` value
is b/c the kernel's uprobe refcount API requires the offset and not the
vaddr.
</comment><date>2020-10-19 12:52:16 -0700</date><id>3f0c5f08a57d554640147ad526e0656def0ee251</id><msg>usdt: Calculate and suppply semaphore_offset values in APIs</msg><path><editType>edit</editType><file>src/cc/bcc_elf.c</file></path><path><editType>edit</editType><file>src/cc/bcc_usdt.h</file></path><path><editType>edit</editType><file>src/cc/usdt/usdt.cc</file></path><path><editType>edit</editType><file>src/cc/usdt.h</file></path><path><editType>edit</editType><file>src/cc/bcc_elf.h</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>src/cc/api/BPF.cc</affectedPath><commitId>28a5cef94294a0f91d2c783fe912f0eb951e71dd</commitId><timestamp>1603146707000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/danobi</absoluteUrl><fullName>Daniel Xu</fullName></author><authorEmail>dxu@dxuuu.xyz</authorEmail><comment>usdt: Use uprobe refcnt if available in usdt C++ API
</comment><date>2020-10-19 15:31:47 -0700</date><id>28a5cef94294a0f91d2c783fe912f0eb951e71dd</id><msg>usdt: Use uprobe refcnt if available in usdt C++ API</msg><path><editType>edit</editType><file>src/cc/api/BPF.cc</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>tests/cc/CMakeLists.txt</affectedPath><affectedPath>tests/cc/usdt_test_lib.c</affectedPath><affectedPath>tests/cc/usdt_test_lib.cc</affectedPath><affectedPath>tests/python/include/folly/tracing/StaticTracepoint-ELFx86.h</affectedPath><affectedPath>tests/python/include/folly/tracing/StaticTracepoint-ELF.h</affectedPath><affectedPath>tests/python/test_usdt.py</affectedPath><affectedPath>tests/python/test_usdt2.py</affectedPath><affectedPath>tests/python/test_usdt3.py</affectedPath><affectedPath>tests/python/include/folly/tracing/StaticTracepoint.h</affectedPath><commitId>8287f172ddfc488d76b9af8645638da605ac516f</commitId><timestamp>1603245505000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/danobi</absoluteUrl><fullName>Daniel Xu</fullName></author><authorEmail>dxu@dxuuu.xyz</authorEmail><comment>folly: Update tracing headers

Sync to upstream folly.

Also turn all users of the headers to be C++ programs instead of C b/c
folly now #includes &lt;cstddef&gt;.
</comment><date>2020-10-20 18:58:25 -0700</date><id>8287f172ddfc488d76b9af8645638da605ac516f</id><msg>folly: Update tracing headers</msg><path><editType>delete</editType><file>tests/cc/usdt_test_lib.c</file></path><path><editType>edit</editType><file>tests/python/test_usdt.py</file></path><path><editType>add</editType><file>tests/cc/usdt_test_lib.cc</file></path><path><editType>edit</editType><file>tests/python/test_usdt2.py</file></path><path><editType>add</editType><file>tests/python/include/folly/tracing/StaticTracepoint-ELFx86.h</file></path><path><editType>delete</editType><file>tests/python/include/folly/tracing/StaticTracepoint-ELF.h</file></path><path><editType>edit</editType><file>tests/python/include/folly/tracing/StaticTracepoint.h</file></path><path><editType>edit</editType><file>tests/cc/CMakeLists.txt</file></path><path><editType>edit</editType><file>tests/python/test_usdt3.py</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>tests/cc/test_usdt_probes.cc</affectedPath><commitId>50ad6faba240cbb0e8c9d445feb84f2499472a6d</commitId><timestamp>1603245550000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/danobi</absoluteUrl><fullName>Daniel Xu</fullName></author><authorEmail>dxu@dxuuu.xyz</authorEmail><comment>usdt: Add test for uprobe refcnt support
</comment><date>2020-10-20 18:59:10 -0700</date><id>50ad6faba240cbb0e8c9d445feb84f2499472a6d</id><msg>usdt: Add test for uprobe refcnt support</msg><path><editType>edit</editType><file>tests/cc/test_usdt_probes.cc</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>scripts/docker/build.sh</affectedPath><affectedPath>scripts/build-deb.sh</affectedPath><affectedPath>.gitignore</affectedPath><affectedPath>.github/workflows/bcc-test.yml</affectedPath><affectedPath>scripts/docker/push.sh</affectedPath><affectedPath>.github/workflows/publish.yml</affectedPath><affectedPath>scripts/docker/auth.sh</affectedPath><affectedPath>Dockerfile.ubuntu</affectedPath><affectedPath>scripts/git-tag.sh</affectedPath><commitId>d4aecc6555688911a8b950d99c430e96ef369576</commitId><timestamp>1603257415000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>Refactor docker image publishing

This adds support to push docker images to quay.io, like other projects in
the iovisor org.

It separates docker image builds into a separate github workflow, and
refactors the package building process slightly, to be generic, in order to
create builds for both ubuntu 16.04 and ubuntu 18.04.

This provides a means to distribute intermediate apt packages between releases,
and also enables uploading these as CI artifacts.

As recent releases have not annotated their tags, it drops the requirement for
tags to be annotated in selecting the version to use.
</comment><date>2020-10-20 22:16:55 -0700</date><id>d4aecc6555688911a8b950d99c430e96ef369576</id><msg>Refactor docker image publishing</msg><path><editType>add</editType><file>scripts/docker/auth.sh</file></path><path><editType>edit</editType><file>.github/workflows/bcc-test.yml</file></path><path><editType>add</editType><file>scripts/docker/build.sh</file></path><path><editType>add</editType><file>.github/workflows/publish.yml</file></path><path><editType>edit</editType><file>scripts/build-deb.sh</file></path><path><editType>edit</editType><file>scripts/git-tag.sh</file></path><path><editType>add</editType><file>scripts/docker/push.sh</file></path><path><editType>edit</editType><file>.gitignore</file></path><path><editType>edit</editType><file>Dockerfile.ubuntu</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>debian/control</affectedPath><affectedPath>.github/workflows/publish.yml</affectedPath><commitId>20b098ae9d7ad2bcf5cbfb49202012848257b73d</commitId><timestamp>1603257415000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>Add ubuntu 20.04 build support
</comment><date>2020-10-20 22:16:55 -0700</date><id>20b098ae9d7ad2bcf5cbfb49202012848257b73d</id><msg>Add ubuntu 20.04 build support</msg><path><editType>edit</editType><file>debian/control</file></path><path><editType>edit</editType><file>.github/workflows/publish.yml</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>.github/workflows/publish.yml</affectedPath><commitId>d35a2dc38514f4a0235f957606ab825c97d651eb</commitId><timestamp>1603297763000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>Guard artifact upload with environment variable
</comment><date>2020-10-21 09:29:23 -0700</date><id>d35a2dc38514f4a0235f957606ab825c97d651eb</id><msg>Guard artifact upload with environment variable</msg><path><editType>edit</editType><file>.github/workflows/publish.yml</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>debian/control</affectedPath><commitId>9269e48712d754b1e0ea91dc2fc21b6e9127c4e6</commitId><timestamp>1603411549000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>Prefer newer llvm/clang versions in debian packaging
</comment><date>2020-10-22 17:05:49 -0700</date><id>9269e48712d754b1e0ea91dc2fc21b6e9127c4e6</id><msg>Prefer newer llvm/clang versions in debian packaging</msg><path><editType>edit</editType><file>debian/control</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>scripts/docker/build.sh</affectedPath><commitId>4967a61ddaf032f4d0bd5ee73360bff400f447e5</commitId><timestamp>1603411549000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>Do not permit errors in docker build
</comment><date>2020-10-22 17:05:49 -0700</date><id>4967a61ddaf032f4d0bd5ee73360bff400f447e5</id><msg>Do not permit errors in docker build</msg><path><editType>edit</editType><file>scripts/docker/build.sh</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>src/python/bcc/table.py</affectedPath><commitId>48946d2f31afbfb7b4bc7c62a9d3d6f1d2ffc330</commitId><timestamp>1603411664000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>python: import ABCs from collections.abc

Importing Abstract Base Classes (ABCs) from the collections module
is deprecated since Python 3.3, it emits a warning since Python 3.8,
and it will stop working in Python 3.10.

Try importing MutableMapping from collections.abc (the preferred way since
Python 3.3) and, in case of error (Python &lt; 3.3) fall back to importing it
from collections.
</comment><date>2020-10-22 17:07:44 -0700</date><id>48946d2f31afbfb7b4bc7c62a9d3d6f1d2ffc330</id><msg>python: import ABCs from collections.abc</msg><path><editType>edit</editType><file>src/python/bcc/table.py</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>man/man8/tcpconnect.8</affectedPath><affectedPath>scripts/build-rpm.sh</affectedPath><affectedPath>Dockerfile.ubuntu</affectedPath><affectedPath>tools/tcpconnect.py</affectedPath><affectedPath>scripts/bpf_demo.ks.erb</affectedPath><affectedPath>tools/tcpconnect_example.txt</affectedPath><affectedPath>Dockerfile.tests</affectedPath><affectedPath>INSTALL.md</affectedPath><commitId>33817e6c4e61ed36bff81ef83b2f5cceeb7fa87c</commitId><timestamp>1603466817000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>add DNS correlation to connect tracking
</comment><date>2020-10-23 08:26:57 -0700</date><id>33817e6c4e61ed36bff81ef83b2f5cceeb7fa87c</id><msg>add DNS correlation to connect tracking</msg><path><editType>edit</editType><file>Dockerfile.ubuntu</file></path><path><editType>edit</editType><file>man/man8/tcpconnect.8</file></path><path><editType>edit</editType><file>tools/tcpconnect_example.txt</file></path><path><editType>edit</editType><file>scripts/bpf_demo.ks.erb</file></path><path><editType>edit</editType><file>Dockerfile.tests</file></path><path><editType>edit</editType><file>INSTALL.md</file></path><path><editType>edit</editType><file>scripts/build-rpm.sh</file></path><path><editType>edit</editType><file>tools/tcpconnect.py</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>INSTALL.md</affectedPath><commitId>1591469305280a9a66635f8af8f0fcb47a839ef7</commitId><timestamp>1603727145000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>Update INSTALL.md

For ubuntu focal fossa only instructions given for Eoan worked for me. If we don't add Focal fossa to list people will go to "For other versions" section. which refers to libllvm3.7 which could not be installed on ubuntu focal. Hence this proposed change
</comment><date>2020-10-26 08:45:45 -0700</date><id>1591469305280a9a66635f8af8f0fcb47a839ef7</id><msg>Update INSTALL.md</msg><path><editType>edit</editType><file>INSTALL.md</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>INSTALL.md</affectedPath><commitId>5ab0183dcb94eb27d9a180b5abff6ada23a795db</commitId><timestamp>1603901017000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>docs(INSTALL): add libfl-dev to ubuntu dependencies

To compile the software on Ubuntu 20.04 I had trouble compiling the source because my OS is missing the `FlexLexer.h` library. This package is supplied by `libfl-dev`.
</comment><date>2020-10-28 09:03:37 -0700</date><id>5ab0183dcb94eb27d9a180b5abff6ada23a795db</id><msg>docs(INSTALL): add libfl-dev to ubuntu dependencies</msg><path><editType>edit</editType><file>INSTALL.md</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>src/cc/libbpf</affectedPath><affectedPath>src/cc/libbpf.c</affectedPath><affectedPath>src/cc/compat/linux/virtual_bpf.h</affectedPath><affectedPath>src/cc/export/helpers.h</affectedPath><affectedPath>docs/kernel-versions.md</affectedPath><commitId>15efd46a199522e17efa7abadb73f81c767bc3ba</commitId><timestamp>1604015677000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>sync with latest libbpf repo

sync with libbpf v0.2.0

Signed-off-by: Yonghong Song &lt;yhs@fb.com&gt;
</comment><date>2020-10-29 16:54:37 -0700</date><id>15efd46a199522e17efa7abadb73f81c767bc3ba</id><msg>sync with latest libbpf repo</msg><path><editType>edit</editType><file>src/cc/compat/linux/virtual_bpf.h</file></path><path><editType>edit</editType><file>src/cc/export/helpers.h</file></path><path><editType>edit</editType><file>docs/kernel-versions.md</file></path><path><editType>edit</editType><file>src/cc/libbpf.c</file></path><path><editType>edit</editType><file>src/cc/libbpf</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>debian/changelog</affectedPath><commitId>ad5b82a5196b222ed2cdc738d8444e8c9546a77f</commitId><timestamp>1604023439000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>update debian changelog for release v0.17.0

 * Support for kernel up to 5.9
 * usdt: add uprobe refcnt support
 * use newer llvm/clang versions in debian packaging if possible
 * add bpf iterator C++ support
 * new bcc tools: tcprtt, netqtop, swapin, tcpsynbl, threadsnoop
 * tcpconnect: add DNS correlation to connect tracking
 * new libbpf-tools: llcstat, numamove, runqlen, runqlat, softirgs, hardirqs
 * doc update, bug fixes and some additional arguments for tools

Signed-off-by: Yonghong Song &lt;yhs@fb.com&gt;
</comment><date>2020-10-29 19:03:59 -0700</date><id>ad5b82a5196b222ed2cdc738d8444e8c9546a77f</id><msg>update debian changelog for release v0.17.0</msg><path><editType>edit</editType><file>debian/changelog</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>src/cc/frontends/clang/arch_helper.h</affectedPath><affectedPath>src/cc/frontends/clang/b_frontend_action.cc</affectedPath><affectedPath>src/cc/frontends/clang/loader.cc</affectedPath><affectedPath>src/cc/export/helpers.h</affectedPath><commitId>12107c6936c6f5d64dd305c8a7d068c07086fd17</commitId><timestamp>1604450298000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></author><authorEmail>ys114321@gmail.com</authorEmail><comment>use correct arch register for the 4th param of x86_64 syscalls

Fix #3150

On x86_64, for syscalls, the calling convension is to use
r10 instead of rcx for the 4th parameter. I have verified this
with disassembling vmlinux codes.
  https://www.systutorials.com/x86-64-calling-convention-by-gcc/

bcc previously used rcx for the 4th parameter for all cases.
This patch fixed the issue by using r10 for syscalls.
A macro PT_REGS_PARM4_SYSCALL() is also introduced in helpers.h
to access the 4th parameter for r10.

Signed-off-by: Yonghong Song &lt;yhs@fb.com&gt;
</comment><date>2020-11-03 16:38:18 -0800</date><id>12107c6936c6f5d64dd305c8a7d068c07086fd17</id><msg>use correct arch register for the 4th param of x86_64 syscalls</msg><path><editType>edit</editType><file>src/cc/frontends/clang/arch_helper.h</file></path><path><editType>edit</editType><file>src/cc/export/helpers.h</file></path><path><editType>edit</editType><file>src/cc/frontends/clang/b_frontend_action.cc</file></path><path><editType>edit</editType><file>src/cc/frontends/clang/loader.cc</file></path></item><item _class='hudson.plugins.git.GitChangeSet'><affectedPath>src/cc/frontends/clang/b_frontend_action.cc</affectedPath><affectedPath>src/cc/bpf_module.cc</affectedPath><affectedPath>src/cc/bpf_module_rw_engine.cc</affectedPath><commitId>11c93f613b43e296f949a231684d544016fd0bcb</commitId><timestamp>1604470882000</timestamp><author><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yhs</absoluteUrl><fullName>yhs</fullName></author><authorEmail>yhs@fb.com</authorEmail><comment>fix compilation issues with latest llvm12 trunk

With latest llvm12 trunk, we got two compilation bugs.

Bug #1:
  /home/yhs/work/bcc/src/cc/frontends/clang/b_frontend_action.cc:
     In member function ‘void ebpf::BFrontendAction::DoMiscWorkAround()’:
  /home/yhs/work/bcc/src/cc/frontends/clang/b_frontend_action.cc:1706:31:
     error: ‘class clang::SourceManage’ has no member named ‘getBuffer’; did you mean ‘getBufferData’?
     rewriter_-&gt;getSourceMgr().getBuffer(rewriter_-&gt;getSourceMgr().getMainFileID())-&gt;getBufferSize(),
                               ^~~~~~~~~
                               getBufferData

  This is due to upstream change https://reviews.llvm.org/D89394.
  To fix, follow upstream examples in https://reviews.llvm.org/D89394.

Bug #2:
  /home/yhs/work/bcc/src/cc/bpf_module.cc: In member function ‘int ebpf::BPFModule::finalize()’:
  /home/yhs/work/bcc/src/cc/bpf_module.cc:470:11:
    error: ‘class llvm::EngineBuilder’ has no member named ‘setUseOrcMCJITReplacement’
   builder.setUseOrcMCJITReplacement(false);
           ^~~~~~~~~~~~~~~~~~~~~~~~~

  This is due to upstream
    https://github.com/llvm/llvm-project/commit/6154c4115cd4b78d0171892aac21e340e72e32bd

  It seems builder.setUseOrcMCJITReplacement() is not needed any more. So just remove it
  from bcc.

Signed-off-by: Yonghong Song &lt;yhs@fb.com&gt;
</comment><date>2020-11-03 22:21:22 -0800</date><id>11c93f613b43e296f949a231684d544016fd0bcb</id><msg>fix compilation issues with latest llvm12 trunk</msg><path><editType>edit</editType><file>src/cc/frontends/clang/b_frontend_action.cc</file></path><path><editType>edit</editType><file>src/cc/bpf_module.cc</file></path><path><editType>edit</editType><file>src/cc/bpf_module_rw_engine.cc</file></path></item><kind>git</kind></changeSet><culprit><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/noreply</absoluteUrl><fullName>noreply</fullName></culprit><culprit><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yhs</absoluteUrl><fullName>yhs</fullName></culprit><culprit><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/yonghong-song</absoluteUrl><fullName>yonghong-song</fullName></culprit><culprit><absoluteUrl>https://buildbot.iovisor.org/jenkins/user/danobi</absoluteUrl><fullName>Daniel Xu</fullName></culprit><run><number>738</number><url>https://buildbot.iovisor.org/jenkins/user/danobi/my-views/view/all/job/bcc-pr/label=fc25/738/</url></run><run><number>738</number><url>https://buildbot.iovisor.org/jenkins/user/danobi/my-views/view/all/job/bcc-pr/label=fc26/738/</url></run><run><number>738</number><url>https://buildbot.iovisor.org/jenkins/user/danobi/my-views/view/all/job/bcc-pr/label=fc27/738/</url></run><run><number>738</number><url>https://buildbot.iovisor.org/jenkins/user/danobi/my-views/view/all/job/bcc-pr/label=fc28/738/</url></run><run><number>738</number><url>https://buildbot.iovisor.org/jenkins/user/danobi/my-views/view/all/job/bcc-pr/label=ubuntu1604/738/</url></run><run><number>738</number><url>https://buildbot.iovisor.org/jenkins/user/danobi/my-views/view/all/job/bcc-pr/label=ubuntu1710/738/</url></run><run><number>738</number><url>https://buildbot.iovisor.org/jenkins/user/danobi/my-views/view/all/job/bcc-pr/label=ubuntu1804/738/</url></run></matrixBuild>