]> xenbits.xensource.com Git - people/liuw/osstest.git/commitdiff
ts-logs-capture: Gather /proc/modules
authorIan Campbell <ian.campbell@citrix.com>
Mon, 5 Oct 2015 09:12:04 +0000 (10:12 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Sun, 11 Oct 2015 08:29:04 +0000 (09:29 +0100)
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)

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
ts-logs-capture

index ab6750d62eb8d0cee2915311934be01f2f26ffb7..cb0d371525242c0d9efee765cf60682cf6cd564a 100755 (executable)
@@ -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);
         }