Repository navigation
docs(r14): Linux analysis suites — example 45 + chapter 45 (Appendices: Tooling) - #14
Merged
Merged
Conversation
…man PASS 10/0) Rootless Fedora-based PCP image (pmcd + pmda-openmetrics + pmda-podman), three-stage builder->smoke->runtime Containerfile. pmda-bcc excluded (super-privileged). cloud-init installs kernel-devel-$(uname -r) for SystemTap's kernel-module backend.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Opens Part 13 — Appendices: Tooling. Cockpit, SystemTap, and PCP as three fleet-wide observation suites, following the single-language example pattern (ch44 precedent).
What's in it
45-linux-analysis-suites/— a rootless Fedora-based PCP container (pmcd+pmda-openmetrics+pmda-podman), three-stagebuilder→smoke→runtimeContainerfile with a real build-time gate.pmda-bccexcluded (super-privileged).demo.sh+verify.lua(langs: [cpp], nominal — it's a container demo)._docs/45-linux-analysis-suites.md(503 lines) — full spine, a "Why Fedora, not UBI" rationale, and both real build bugs as teaching material.45-analysis-suite-landscape(the three suites) and45-pcp-build-gate(the three-stage build).kernel-devel-$(uname -r)so SystemTap's kernel-module backend works on fresh guests.Why Fedora, not UBI
pcp+ PMDAs aren't in the unauthenticated UBI 9/10 repo subset (nor EPEL-10);rhel9/pcpneeds Red Hat portal auth. Readers likely lack a subscription, so the image buildsFROM registry.fedoraproject.org/fedora:44(pcp 7.1.5, unauthenticated).Two real bugs (now chapter content)
FROM builder AS runtimesilently skips the disconnectedsmokegate stage —FROM smokeforces podman to build it../Installreverts its ownpmcd.confwhen it can'tsystemctl restartin a no-systemd build layer — fixed by startingpmcdbefore./Install(takes thepmsignal -HUPpath).Verification (mixed — footer says so)
verify.luaPASS 10/0,value 42, live podman-socket container visibility) on Fedora 44 / podman 5.8.4; SystemTap kernel-module backend on systems-target (stap-module-ok, real openat aggregate); Cockpit socket (HTTP 200).Gate
scripts/validate.py→validate: OKscripts/test-all-examples.py --only 45-linux-analysis-suites→ 1 passed, 0 failed