docs: README#1
Open
necco-c wants to merge 1 commit into
Open
Conversation
Replace the placeholder README with the full template-driven version
covering quick start, primer, use cases, output walkthrough, hook list,
caveats, FAQ, and build steps. Add GPL-2.0 LICENSE to match the BPF
program's SEC("license") = "GPL" declaration.
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.
Reviewer notes for ciprof
The author's GitHub account does not have admin on this repo, so the About description and topic tags below could not be applied automatically. Please apply them via the repo's web UI (top of the repo page → ⚙ next to "About") when merging:
About description (paste verbatim)
(108 chars)
Topic tags (15)
First cluster (
ebpf,bpf,linux,github-actions,ci,ci-cd,profiler,profiling) is the obvious-search set.yeet,uprobes, andobservabilitycarry the category language across the corpus.First cluster (
ebpf,bpf,linux,github-actions,ci,ci-cd,profiler,profiling) is the obvious-search set.yeet,uprobes, andobservabilitycarry the category language across the corpus.Flagged for review (grounding ≥ 2)
inet_csk_acceptomission — earlier hand-produced README listedinet_csk_accept(fexit) as one of the BPF attach points. It is not inciprof.bpf.c. The actual program list issched_process_exec(tp_btf, default),do_execveat_common(fentry, alt via-DUSE_TP_BTF_EXEC=0),sched_process_exit(tp_btf),tcp_connect(fentry),tcp_close(fentry). This draft omits the accept hook. Confirm before publishing.fentry-on-BTF; nothing in the source states it. Existing README also says 5.10+; safe to ship if you want a number stated.format.js) only formatsIP:portor[ipv6]:portfrom kernel bytes. No DNS resolution. The earlier hand-produced README's caveat ("IP:portonly") is consistent with the code; the earlier sample output showingregistry.npmjs.orgis not consistent with the code. One of them is wrong — almost certainly the sample output (mocked). Confirm.state.jsformatPctdivides by100 * 1024 * 1024 / 1000which decodes to "100 MB/s assumed throughput." Stated in code; the framing as a "fixed 100 MB/s assumption" is the inference.strace/timeand the "safe on shared infra" framing are general knowledge / inference, not source facts.vmlinux.handbin/as generated; the repo currently has no.gitignoreto confirm they're excluded. Conventional but flagged.SPDX-License-Identifier: GPL-2.0andSEC("license") = "GPL". Repo: noLICENSEfile. Existing README: states "MIT" with no file backing it. The draft above omits MIT and states only the GPL/BPF fact. Pick a license, add aLICENSEfile.Source-level contradictions worth resolving in the repo (not in the README)
LICENSEfile missing. Either addLICENSE(MIT, Apache, or GPL — pick one) or remove license claims from the existing README.inet_csk_accepthook was claimed in prior README drafts but never implemented. Either implement it or stop referencing it.Template-level observations
None this run. The existing template caught all the categories of flag that surfaced (license, kernel version, DNS contradiction, overhead estimates, multi-tenant safety inference, strace/time comparison). No new rule worth promoting.