
我想在幾週的時間內追蹤 Linux 核心加載了哪些模組。
Q:如何將每個模組載入記錄到文件中?
答案1
建議你嘗試一下系統點擊。
這個 SystemTap 腳本是一個不錯的例子,追蹤進程停止/啟動以及核心模組載入/刪除。輕鬆消除製程停止/啟動方面。
https://sourceware.org/systemtap/examples/process/procmod_watcher.stp
我想在幾週的時間內追蹤 Linux 核心加載了哪些模組。
Q:如何將每個模組載入記錄到文件中?
建議你嘗試一下系統點擊。
這個 SystemTap 腳本是一個不錯的例子,追蹤進程停止/啟動以及核心模組載入/刪除。輕鬆消除製程停止/啟動方面。
https://sourceware.org/systemtap/examples/process/procmod_watcher.stp