Skip to content

Commit

Permalink
[kernel] Add plain 'dmesg' command to plugin
Browse files Browse the repository at this point in the history
PR #3657 added human readable timestamps to the dmesg
command, but the command can be unreliable. This PR
adds the plain 'dmesg' command capture again, to make
sure that we still have an output with reliable
timestamps that can be easily converted to human readable
in these cases where 'dmesg -T' could not be trusted.

Signed-off-by: Jose Castillo <[email protected]>
  • Loading branch information
jcastill authored and arif-ali committed Jun 10, 2024
1 parent ab484a6 commit b29d911
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sos/report/plugins/kernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def setup(self):
self.add_cmd_output(f"find {' '.join(extra_mod_paths)} -ls")

self.add_cmd_output([
"dmesg",
"dmesg -T",
"dkms status"
], cmd_as_tag=True)
Expand Down

0 comments on commit b29d911

Please sign in to comment.