-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviews.gem5.org/r/3486/
-----------------------------------------------------------

Review request for Default.


Repository: gem5


Description
-------

Changeset 11501:26b8346413b8
---------------------------
kern, arm: Dump dmesg on kernel panic/oops

Add helper functions to dump the guest kernel's dmesg buffer to a text
file in m5out. This functionality is split into two parts. First, a
dmesg dump function that can be used in other places:

void Linux::dumpDmesg(ThreadContext *, std::ostream &)

This function is used to implement two PCEvents: DmesgDumpEvent and
KernelPanic event. The only difference between the two is that the
latter produces a gem5 panic instead of a warning in addition to
dumping the kernel log.

Change-Id: I6d2af1d666ace57124089648ea906f6c787ac63c
Signed-off-by: Andreas Sandberg <[email protected]>
Reviewed-by: Nikos Nikoleris <[email protected]>
Reviewed-by: Gabor Dozsa <[email protected]>


Diffs
-----

  src/arch/arm/ArmSystem.py 1f04f97c014d 
  src/arch/arm/linux/system.hh 1f04f97c014d 
  src/arch/arm/linux/system.cc 1f04f97c014d 
  src/kern/SConscript 1f04f97c014d 
  src/kern/linux/events.hh 1f04f97c014d 
  src/kern/linux/events.cc 1f04f97c014d 
  src/kern/linux/helpers.hh PRE-CREATION 
  src/kern/linux/helpers.cc PRE-CREATION 

Diff: http://reviews.gem5.org/r/3486/diff/


Testing
-------


Thanks,

Andreas Sandberg

_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to