[Crash-utility] Patch to add comments

Imap olivier.daudel at u-paris10.fr
Fri Apr 6 09:28:39 UTC 2012


Hello Dave,
A small cosmetic pach to add comments in the crash flow.
Of course we may use !# to do this, but to call a shell just for a comment seems rather hard ?



With !#, we have:

crash> !#
crash> !# sysrq-triger
crash> !#
crash> file_operations 0xffffffff81643300
struct file_operations {
  owner = 0x0, 
  llseek = 0xffffffff81166b90 <noop_llseek>, 
  read = 0, 
  write = 0xffffffff812fa4b0 <write_sysrq_trigger>,
[...]
}After the introduction of the command #, we just have: 

crash> #
crash> # sysrq-triger
crash> #
crash> file_operations 0xffffffff81643300
struct file_operations {
  owner = 0x0, 
  llseek = 0xffffffff81166b90 <noop_llseek>, 
  read = 0, 
  write = 0xffffffff812fa4b0 <write_sysrq_trigger>,
[...]
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20120406/97cdf6f2/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: comment.patch
Type: application/octet-stream
Size: 2057 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20120406/97cdf6f2/attachment.obj>


More information about the Crash-utility mailing list