refactor: rename agent_config to runtime_config - #562
Conversation
|
CI triage update (2026-07-16): current visible blockers are cancelled GPU/PTX checks from an old run, and the branch is behind/conflicting. The accessible logs do not provide a current PR-local failure to patch. Next useful step is contributor rebase/conflict resolution plus fresh CI; avoid treating the cancelled GPU checks as a code diagnosis. |
Addresses eunomia-bpf#330 - renames the config struct and related functions to better reflect that it's used for the entire runtime, not just the agent component. Changes: - struct agent_config -> struct runtime_config - construct_agent_config_from_env() -> construct_runtime_config_from_env() - bpftime_get_agent_config() -> bpftime_get_runtime_config() - bpftime_set_agent_config() -> bpftime_set_runtime_config() The syscall-server config merge mentioned in eunomia-bpf#330 can be addressed in a follow-up PR.
b5fa7bb to
d03214f
Compare
|
update: rebased onto latest master and resolved the conflicts. The rename now also covers call sites added on master since I branched |
|
Fresh status after the contributor rebase: the branch is now mergeable and the broad build/test matrix is green. The only non-success checks shown on the current PR are the cancelled |
Addresses #330
The config struct is used for the entire runtime, not just the agent. Renamed for clarity:
agent_config→runtime_configconstruct_agent_config_from_env()→construct_runtime_config_from_env()bpftime_get/set_agent_config()→bpftime_get/set_runtime_config()33 files updated. No functional changes.
Note: syscall-server config merge can be done in a follow-up.