Skip to content

build: fix parallel build races in skel.h generation#82

Open
rwenz2004 wants to merge 1 commit into
DKapture:mainfrom
rwenz2004:main
Open

build: fix parallel build races in skel.h generation#82
rwenz2004 wants to merge 1 commit into
DKapture:mainfrom
rwenz2004:main

Conversation

@rwenz2004
Copy link
Copy Markdown
Contributor

  • Fix top-level Makefile: so target now depends on observe/filter/policy, eliminating parallel builds of shared .skel.h and extern-prep outputs
  • observe/filter/policy now depend on tools, ensuring extern-prep is built before BPF preprocessing starts
  • Simplify .skel.h recipes: remove PID-based temp file uniquification, use simple .tmp prefix with mv atomic replacement
  • patch_skel.py: extend .tmp prefix stripping to handle both PID and non-PID patterns

- Fix top-level Makefile: so target now depends on observe/filter/policy,
  eliminating parallel builds of shared .skel.h and extern-prep outputs
- observe/filter/policy now depend on tools, ensuring extern-prep is built
  before BPF preprocessing starts
- Simplify .skel.h recipes: remove PID-based temp file uniquification,
  use simple .tmp prefix with mv atomic replacement
- patch_skel.py: extend .tmp prefix stripping to handle both PID and
  non-PID patterns

Signed-off-by: Runrun Liu <liurunrun@uniontech.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant