summaryrefslogtreecommitdiff
path: root/sys/kern/subr_witness.c
AgeCommit message (Expand)Author
2021-02-08Revert the convertion of per-process thread into a SMR_TAILQ.Martin Pieuchot
2021-01-28Show when witness(4) has run out of lock order data entries.Visa Hankala
2021-01-09Enforce range with sysctl_int_bounded in witness_sysctl_watchgnezdo
2021-01-09Replace a custom linked list with SLIST.Visa Hankala
2021-01-09Replace SIMPLEQ with SLIST because the code does not need a queue.Visa Hankala
2021-01-09Remove unnecessary relocking of w_mtx as panic() should not return.Visa Hankala
2020-12-07Convert the per-process thread list into a SMR_TAILQ.Martin Pieuchot
2020-11-12witness: detect and report uninitialized (or zeroed) lock usageSebastien Marie
2020-03-15Fix memory corruption with kern.witness.locktrace.Visa Hankala
2020-01-20Separate the stack trace saving interface from ddb. The saving does notVisa Hankala
2019-11-15Remove gratuitous #ifdef.Visa Hankala
2019-07-20Get rid of `ddb_is_active' instead use `db_active'.Martin Pieuchot
2019-06-06Restore missing newline.Visa Hankala
2019-05-19include uvm.h -> uvm_extern.h; ok visa@anton
2019-04-23Remove file name and line number output from witness(4)Visa Hankala
2019-03-15Remove FBSDID.Kevin Lo
2019-02-07Add lock stack trace saving for witness(4).Visa Hankala
2019-02-04Make callers of witness_lock_list_{get,free}() responsible of raisingVisa Hankala
2019-01-29Add a dedicated sysctl(2) node for witness(4).Visa Hankala
2019-01-27stop using capital letters in printf format strings; ok visa@anton
2019-01-27consistency tweaks to panic format strings; ok visa@anton
2019-01-26Use memset() instead of bzero().Visa Hankala
2019-01-26Tag the start of witness(4) output with prefix "witness:".Visa Hankala
2018-06-26Make the system cache a small number of free lock list entries per CPU.Visa Hankala
2018-06-15Remove the witness_skipspin setting to simplify the code.Visa Hankala
2018-06-14Make possible to build uniprocessor WITNESS kernels without kernel_lock.Visa Hankala
2018-06-08Constipate all the struct lock_type's so they go into .rodataPhilip Guenther
2018-06-01Consistently use printf() instead of db_printf() when not runningVisa Hankala
2018-05-31Make witness(4) watch locks and print error stack traces by default.Visa Hankala
2018-05-16Fix misleading indentation.Visa Hankala
2018-05-16Print stack traces on lock order conflict.Visa Hankala
2018-05-16Add kern.witnesswatch sysctl for controlling witness(4). By default,Visa Hankala
2018-05-09Remove witness_channel and always use console outputVisa Hankala
2018-05-07Zap two unused variables.Visa Hankala
2018-05-07Make the print function of db_print_stack_trace() configurable,Visa Hankala
2018-05-02Record lock type even if witness is disabled. The value will be neededVisa Hankala
2018-04-30Treat all negative values of witness_watch equally for robustness.Visa Hankala
2018-04-12Restore the original BSDI $Id$ strings. Those were mangled by CVSVisa Hankala
2018-04-03Deactivate witness(4) checks if we are in ddb(4), when `db_active' is set.Martin Pieuchot
2018-02-20Make ddb's "show all locks" command show spinlocks in additionVisa Hankala
2017-11-14Fix the initial check of the checkorder and lock operationsVisa Hankala
2017-08-12Silence clang warnings: remove unused variables and s/%hx/%x/gPhilip Guenther
2017-05-22Drop kernel trace points. The trace facility does not exist on OpenBSD.Visa Hankala
2017-04-30Rename Debugger() into db_enter().Martin Pieuchot
2017-04-20Add a port of witness(4) lock validation tool from FreeBSD.Visa Hankala