Skip to contentSkip to conversation

ts-logs-capture: Gather /proc/modules

PATCH New Ian Campbell 2 participants 2 messages Oct 5, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ts-logs-capture: Gather /proc/modules

Knowing which modules are loaded can be useful.

/proc/modules is slightly less human-readable than the output of "lsmod", but also includes the load address, which might plausibly be useful for decoding a stack trace (although I've never used it for that myself)

---
 ts-logs-capture | 1 +
 1 file changed, 1 insertion(+)
ts-logs-capture +1 -0
index ab6750d..cb0d371 100755
@@ -202,6 +202,7 @@ sub fetch_logs_host () {
          'cat /proc/partitions',
          'virsh capabilities',
          'cat /proc/self/limits',
+         'cat /proc/modules',
          ) {
             try_cmd_output_save($cmd);
         }
Signature · 1 line
2.5.3
#1 lore raw

PATCH 1/1 ts-logs-capture: Gather /proc/modules

Ian Campbell writes ("[PATCH OSSTEST] ts-logs-capture: Gather /proc/modules"):

Quoted 6 lines

Knowing which modules are loaded can be useful.

/proc/modules is slightly less human-readable than the output of "lsmod", but also includes the load address, which might plausibly be useful for decoding a stack trace (although I've never used it for that myself)