Files
bpf-developer-tutorial/src/32-wallclock-profiler/.gitignore
云微 70451702f0 Add wall clock analysis (#184)
* Add combined on-CPU and off-CPU profiler script

- Implemented a new profiling tool that captures both on-CPU and off-CPU activity for a specified process.
- The script runs 'oncputime' and 'offcputime' tools simultaneously and combines their results into a unified flamegraph.
- Added functionality to discover threads and profile them individually if the application is multi-threaded.
- Included error handling for tool execution and output processing.
- Created methods for generating flamegraph data and SVG visualizations.
- Added command-line argument parsing for user-defined profiling parameters.
- Implemented detailed analysis reports for both individual threads and overall profiling results.

* feat: integrate blazesym v0.2.0 for improved symbol resolution and add test program for memory leak detection

* docs: update README to enhance wall clock profiling tutorial with detailed explanations and examples

* feat: add wallclock-profiler tests to CI workflow for tool validation

* fix: rename combined_profiler.py to wallclock_profiler.py in test scripts and usage examples
2025-09-30 22:11:52 -07:00

26 lines
407 B
Plaintext

/.output
/bootstrap
/profile
/offcputime
/oncputime
res.txt
*.o
oncpu.txt
offcpu.txt
FlameGraph
pmumon
test_combined
pmumon_advanced
/demo_results.svg
demo_results.folded
test_program
combined_profile_pid*.svg
combined_profile_pid*.folded
combined_profile_pid*.txt
combined_flamegraph.pl
multithread_combined_profile_pid*
demo_results_single_thread_analysis.txt
test_multithread
perf.data*
double_bandwidth