ddb.conf 494 B

1234567891011121314
  1. #
  2. # This file is read when going to multi-user and its contents piped thru
  3. # ``ddb'' to define debugging scripts.
  4. #
  5. # see ``man 4 ddb'' and ``man 8 ddb'' for details.
  6. #
  7. script lockinfo=show locks; show alllocks; show lockedvnods
  8. # kdb.enter.panic panic(9) was called.
  9. script kdb.enter.panic=textdump set; capture on; run lockinfo; show pcpu; bt; ps; alltrace; capture off; textdump dump; reset
  10. # kdb.enter.witness witness(4) detected a locking error.
  11. script kdb.enter.witness=run lockinfo