4 ms·
Fair point, though I didn’t see any such option with this tool.
by sgarland 2y ago
Fair point, though I didn’t see any such option with this tool.
- nine_k 2y agoIt's developed in the open; we can create Github issue. Actually https://github.com/oracle/bpftune/issues/99 https://github.com/oracle/bpftune/issues/99
- westurner 2y agoIn the existing issue, we can link to the code and docs that would need to be understood and changed: usage, main() https://github.com/oracle/bpftune/blob/6a50f5ff619caeea6f04d889e3a60de6c12feb76/src/bpftune.c#L280 https://github.com/oracle/bpftune/blob/6a50f5ff619caeea6f04d... - [ ] CLI opts: --pretend-allow <tuner> or --log-only-allow <tuner> or [...] Probably relevant function headers in libbpftune.c: bpftune_sysctl_write( bpftuner_tunable_sysctl_write( bpftune_module_load( static void bpftuner_scenario_log(struct bpftuner *tuner, unsigned int tunable, ; https://github.com/oracle/bpftune/blob/6a50f5ff619caeea6f04d889e3a60de6c12feb76/src/libbpftune.c#L716 https://github.com/oracle/bpftune/blob/6a50f5ff619caeea6f04d... https://github.com/oracle/bpftune/blob/6a50f5ff619caeea6f04d889e3a60de6c12feb76/src/libbpftune.c#L1047 https://github.com/oracle/bpftune/blob/6a50f5ff619caeea6f04d...
- westurner 2y agoHere's that, though this is dnvted to -1? https://github.com/oracle/bpftune/issues/99#issuecomment-2483618905 https://github.com/oracle/bpftune/issues/99#issuecomment-248... Ideally this tool could passively monitor and recommend instead of changing settings in production which could lead to loss of availability by feedback failure; -R / --rollback actively changes settings, which could be queued or logged as idk json or json-ld messages.