From 71c89cbcd23731596bef9482ba525c2dc8b37728 Mon Sep 17 00:00:00 2001 From: yunwei37 Date: Tue, 30 Sep 2025 22:49:41 -0700 Subject: [PATCH] docs: update flame graph image links in README files for wall clock profiling tutorial --- src/32-wallclock-profiler/README.md | 2 +- src/32-wallclock-profiler/README.zh.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/32-wallclock-profiler/README.md b/src/32-wallclock-profiler/README.md index faad42d..4555020 100644 --- a/src/32-wallclock-profiler/README.md +++ b/src/32-wallclock-profiler/README.md @@ -18,7 +18,7 @@ The tools in this tutorial solve both problems by running two eBPF programs simu Here's an example flame graph showing combined on-CPU and off-CPU profiling results: -![Combined Wall Clock Flame Graph Example](https://github.com/eunomia-bpf/bpf-developer-tutorial/blob/main/src/32-wallclock-profiler/tests/example.svg) +![Combined Wall Clock Flame Graph Example](https://raw.githubusercontent.com/eunomia-bpf/bpf-developer-tutorial/c9d3d65c15fb6528ee378657a05ec0b062eff5b7/src/32-wallclock-profiler/tests/example.svg) In this visualization, you can clearly see the distinction between CPU-intensive work (shown in red/warm colors marked with `_[c]`) and blocking operations (shown in blue/cool colors marked with `_[o]`). The relative widths immediately reveal where your application spends its wall clock time. diff --git a/src/32-wallclock-profiler/README.zh.md b/src/32-wallclock-profiler/README.zh.md index 234e5ea..cdec8c1 100644 --- a/src/32-wallclock-profiler/README.zh.md +++ b/src/32-wallclock-profiler/README.zh.md @@ -18,7 +18,7 @@ Off-CPU 分析器则反其道而行之。它们跟踪线程何时休眠和唤醒 下面是一个结合 on-CPU 和 off-CPU 分析结果的示例火焰图: -![结合挂钟时间火焰图示例](https://github.com/eunomia-bpf/bpf-developer-tutorial/blob/main/src/32-wallclock-profiler/tests/example.svg) +![结合挂钟时间火焰图示例](https://raw.githubusercontent.com/eunomia-bpf/bpf-developer-tutorial/c9d3d65c15fb6528ee378657a05ec0b062eff5b7/src/32-wallclock-profiler/tests/example.svg) 在这个可视化中,你可以清楚地看到 CPU 密集型工作(以红色/暖色显示,标记为 `_[c]`)和阻塞操作(以蓝色/冷色显示,标记为 `_[o]`)之间的区别。相对宽度立即揭示了应用程序在哪里花费了挂钟时间。