Handles environment setup and high-performance incremental building for rsyslog.
This skill standardizes the environment setup and build process for the rsyslog project. It ensures that agents use the most efficient build commands and handle bootstrap logic correctly.
.agent/skills/rsyslog_build/scripts/setup.sh to install dependencies.make -j$(nproc) check TESTS="" for incremental builds../autogen.sh --enable-debug [options] if Makefile is missing or build configuration changes.The project requires a set of development libraries (C toolchain, libcurl, libfastjson, etc.).
bash .agent/skills/rsyslog_build/scripts/setup.shdevtools/codex-setup.shYou MUST run ./autogen.sh in the following cases:
Makefile exists).configure.ac, any Makefile.am, or files under m4/.--enable-imkafka).Example:
./autogen.sh --enable-debug --enable-testbench --enable-imdiag --enable-omstdout
Always prefer the incremental build-only command. It builds the core and all test dependencies without the overhead of running the full test suite.
Command:
make -j$(nproc) check TESTS=""
When modifying runtime/ or exported symbols:
-M../runtime/.libs correctly for dynamic loading.rsyslog_test: For running validations after a successful build.rsyslog_module: For module-specific build flags.使用 Arthas 的 watch/trace 获取 EagleEye traceId / 获取请求的 traceId