-
本项目旨在开发一个Linux用户态进程生命周期画像工具,通过该工具可以清晰展示出:
1. 一个进程从创建到终止的完整生命周期
2. 进程/线程持有锁的区间画像
3. 进程/线程上下文切换原因的标注
4. 线程之间依赖关系(线程)
5. 进程关联调用栈信息标注
6. 加入更多的可视化元素和交互方式,使得整个画像更加直观、易于理解
项目开发计划:
- [x] 进程上下CPU…
-
cpu_watcher 项目:目标是分析cpu 的运行状态,将BCC_sar(lmp/eBPF_Supermarket/CPU_Subsystem/BCC_sar/src
/sar)改写成libbpf版本,目前libbpf版本的框架已经写好,放在了lmp/eBPF_Supermarket/CPU_Subsystem/libbpf_sar文件夹中。该工具应实现以下数据的采集:
- proc/…
-
If I run "/usr/share/bcc/tools/memleak" without arguments, it seems to work fine with regards to attaching to the kernel and tracing allocations.
But If I run /usr/share/bcc/tools/memleak -c ls, …
-
I have been trying to attach uprobe to **ngx_http_process_request** function of nginx and note time taken by this function. The eBPF code looks like this:
```
#include
#include
struct val_t {…
-
我执行```bpftool prog```命令看到了这些bpf程序,想要请教 """61: perf_event name bpf_perf_event tag 42b497adb6d498f9 gpl"""这个程序是怎么挂载的呢?作用是什么?因为最近碰到一个perf event ringbuf 内存访问错误的问题
```bash
# bpftool prog
4: kprobe …
-
### Describe the bug
I have created a service using an HTTP server, and in the GET method, I called another API. I added a header, Traceparent, at the entry point of the request. However, strangely…
-
Example go program:
```
package main
import (
"math/rand"
"time"
)
func randomsleep() {
time.Sleep(time.Duration(rand.Int63n(1000)) * time.Millisecond)
}
func m…
-
**Describe the bug**
Trying to attach uprobe to application functions. Issue occurred when client trying to instrument application failed to inject or attach probe to certain functions.
Same…
-
Hi!
I've built bpftools (including bpftrace) for aach64.
```sh
# /data/bin/bpftools/bpftrace --info
System
OS: Linux 5.10.43 #9 SMP PREEMPT Tue Jun 27 12:32:32 UTC 2023
Arch: aarch64
…
-
**Is your feature request related to a problem? Please describe.**
Since bpftime can run entirely in userspace, can we port bpftime to MacOS?
**Describe the solution you'd like**
Try to …