forked from iovisor/bcc
-
Notifications
You must be signed in to change notification settings - Fork 1
Updated elgohr/Publish-Docker-Github-Action to a supported version (v5) #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
elgohr
wants to merge
18
commits into
brimdata:master
Choose a base branch
from
elgohr-update:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…-actions-1 gh actions: run test and publish actions on pull_request, not push
resending
it wasn't running on ubuntu-18.04 test runner b/c of the kernel version check and is failing now as I try to add ubuntu-20.04 test runner Will investigate separately from GH actions changes
Since commit d5299b67dd59 ("bpf: Memcg-based memory accounting for bpf
maps"), memory locked by bpf maps is no longer counted against rlimit.
Ubuntu 20.04's 5.11 kernel has this commit, so we should skip this test
there. When we add future distros to github actions it may be necessary
to modify the version check here.
add ubuntu-20.04 to bcc-test.yml
Sync with latest libbpf repo upto commit: 94a49850c5ee Makefile: enforce gnu89 standard Signed-off-by: Yonghong Song <yhs@fb.com>
The test send a udp packet to test tailcalls. The test may fail due to udp packet loss. Let us mark the test as mayFail. Signed-off-by: Yonghong Song <yhs@fb.com>
…sor#3713) set CMP0074 to allow the use of `LLVM_ROOT` env var
Create examples/tracing/undump.py examples text file and update permission (+x) for undump.py.
By just running `$ sudo amazon-linux-extras install BCC`, dependencies are install. ``` $ sudo amazon-linux-extras install BCC ... ================================================================================================================================================================== Package Arch Version Repository Size ================================================================================================================================================================== Installing: bcc x86_64 0.18.0-1.amzn2.0.3 amzn2-core 28 M Installing for dependencies: bcc-tools x86_64 0.18.0-1.amzn2.0.3 amzn2-core 557 k clang-libs x86_64 11.1.0-1.amzn2.0.2 amzn2-core 22 M clang-resource-filesystem x86_64 11.1.0-1.amzn2.0.2 amzn2-core 17 k cpp10 x86_64 10.3.1-1.amzn2.0.1 amzn2-core 9.5 M elfutils-libelf-devel x86_64 0.176-2.amzn2 amzn2-core 40 k gcc10 x86_64 10.3.1-1.amzn2.0.1 amzn2-core 38 M gcc10-binutils x86_64 2.35-21.amzn2.0.1 amzn2-core 2.9 M gcc10-binutils-gold x86_64 2.35-21.amzn2.0.1 amzn2-core 795 k glibc-devel x86_64 2.26-56.amzn2 amzn2-core 994 k glibc-headers x86_64 2.26-56.amzn2 amzn2-core 514 k isl x86_64 0.16.1-6.amzn2 amzn2-core 833 k kernel-devel x86_64 5.10.75-79.358.amzn2 amzn2extra-kernel-5.10 16 M kernel-headers x86_64 5.10.75-79.358.amzn2 amzn2extra-kernel-5.10 1.3 M libbpf x86_64 0.3.0-2.amzn2.0.3 amzn2-core 102 k libmpc x86_64 1.0.1-3.amzn2.0.2 amzn2-core 52 k libzstd x86_64 1.3.3-1.amzn2.0.1 amzn2-core 203 k llvm-libs x86_64 11.1.0-1.amzn2.0.2 amzn2-core 22 M mpfr x86_64 3.1.1-4.amzn2.0.2 amzn2-core 208 k python3-bcc noarch 0.18.0-1.amzn2.0.3 amzn2-core 86 k python3-netaddr noarch 0.7.18-3.amzn2.0.2 amzn2-core 1.3 M zlib-devel x86_64 1.2.7-18.amzn2 amzn2-core 50 k ... ```
The data_loc field (defined as __string in kernel source) should be treated as string NOT a fixed-size array, add a new macro TP_DATA_LOC_READ_STR which use bpf_probe_read_str to reflect this. Signed-off-by: Hengqi Chen <chenhengqi@outlook.com>
Fixes iovisor#3720. Signed-off-by: Hengqi Chen <chenhengqi@outlook.com>
This makes few improvements:
* This can send much larger data payload and also adds
--max-buffer-size CLI option which allow changing this param.
* Fixes dealing with non ASCII protocols, previously struct was
defined as array of chars which made python ctypes treat it as
NULL terminated string and it prevents from displaying any data
past the null byte (which is very common for http2).
* Adds more filtering and displaying options (--print-uid,
--print-tid, --uid <uid>)
This also deals correctly with rare cases when bpf_probe_read_user fails
(so buffer should be empty and should not be displayed).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
elgohr/Publish-Docker-Github-Action@master is not supported anymore