Date: Fri, 8 May 2015 20:32:18 -0700 From: NGie Cooper <yaneurabeya@gmail.com> To: "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org> Subject: Parsing debug.witness.badstacks Message-ID: <CAGHfRMA_2UrSOY%2B39iCpDFmz66DWC8hqRtx16f%2B-UcC%2BkhUMmg@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi all,
Some of the automation at $work was broken when moving from an
earlier version of FreeBSD to a later version of FreeBSD with witness
(mostly dealing with LORs from lockmgr), so I disabled printing out
LORs on the console and use debug.witness.badstacks instead to gather
LOR info.
I've written up a quick and dirty tool for doing this:
https://github.com/yaneurabeya/scratch/blob/master/bayonetta/scratch/scripts/freebsd/parse_badstacks.py
. I was wondering if anyone else would be interested in having a
similar tool in FreeBSD and/or if it made sense to instead output the
badstacks output [from the kernel] in a different, easier format to
digest (json, xml, etc).
Thanks!
-NGie
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGHfRMA_2UrSOY%2B39iCpDFmz66DWC8hqRtx16f%2B-UcC%2BkhUMmg>
