Skip to content

Conversation

@geyslan
Copy link
Member

@geyslan geyslan commented Sep 25, 2025

  • Add support for specifying the number of jobs with the -j option.
  • Improve error handling for job execution and extraction failures.
  • Implement background job tracking for graceful cleanup on interruption.
  • Refactor code for better readability and maintainability.
./tools/btfgen.sh -a x86_64 -o ../tracee/dist/tracee.bpf.o -j 1

🎉 BTF processing completed!
📊 Total files: 611
✅ Completed: 611
❌ Failed jobs: 0
⚙️  Parallel jobs: 1
⏱️  Total time: 1m 20s
🚀 Average rate: 452 files/min


./tools/btfgen.sh -a x86_64 -o ../tracee/dist/tracee.bpf.o -j 16

🎉 BTF processing completed!
📊 Total files: 611
✅ Completed: 611
❌ Failed jobs: 0
⚙️  Parallel jobs: 16
⏱️  Total time: 0m 6s
🚀 Average rate: 5237 files/min

- Add support for specifying the number of jobs with the -j option.
- Improve error handling for job execution and extraction failures.
- Implement background job tracking for graceful cleanup on interruption.
- Refactor code for better readability and maintainability.
@geyslan geyslan merged commit 287a99f into main Sep 26, 2025
2 checks passed
@geyslan geyslan deleted the btfgen-parallel branch September 26, 2025 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants