开源软件名称(OpenSource Name):iovisor/bpftrace开源软件地址(OpenSource Url):https://github.com/iovisor/bpftrace开源编程语言(OpenSource Language):C++ 66.0%开源软件介绍(OpenSource Introduction):bpftracebpftrace is a high-level tracing language for Linux enhanced Berkeley Packet Filter (eBPF) available in recent Linux kernels (4.x). bpftrace uses LLVM as a backend to compile scripts to BPF-bytecode and makes use of BCC for interacting with the Linux BPF system, as well as existing Linux tracing capabilities: kernel dynamic tracing (kprobes), user-level dynamic tracing (uprobes), and tracepoints. The bpftrace language is inspired by awk and C, and predecessor tracers such as DTrace and SystemTap. bpftrace was created by Alastair Robertson. To learn more about bpftrace, see the Manual the Reference Guide and One-Liner Tutorial. One-LinersThe following one-liners demonstrate different capabilities:
More powerful scripts can easily be constructed. See Tools for examples. InstallFor build and install instructions, see INSTALL.md. Toolsbpftrace contains various tools, which also serve as examples of programming in the bpftrace language.
For more eBPF observability tools, see bcc tools. Probe typesSee the Reference Guide for more detail. SupportFor additional help / discussion, please use our discussions page. Contributing
DevelopmentDockerFor build & test directly in docker
For build in docker then test directly on host
VagrantFor development and testing a Vagrantfile is available. Make sure you have the
Start VM:
LicenseCopyright 2019 Alastair Robertson Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论