Commit Graph

63 Commits

Author SHA1 Message Date
Richard Samuels 151d886e80 SERVER-50449 Add gdb helper scripts for UndoDB 2020-09-01 15:48:47 +00:00
Richard Samuels 217ce7d8b2 SERVER-50354 Fix mongodb-javascript-stack gdb command to allow printing stacktraces 2020-08-21 19:36:09 +00:00
Richard Samuels eb6dc1da7c SERVER-43055 Prevent an exception when gdb prints a BSONObj with datetimes beyond datetime.MAXYEAR 2020-07-14 18:55:02 +00:00
Jamie Heppenstall c8708d0075 SERVER-48193 Update GDB command to dump all stashed RecoveryUnits 2020-05-15 17:18:44 +00:00
Jamie Heppenstall e722138cbd SERVER-45556 Create GDB command to dump all active RecoveryUnits 2020-05-04 14:57:45 +00:00
Spencer T Brody 4cd113b09e SERVER-45133 Fix hang analyzer 2020-04-14 22:14:43 +00:00
Spencer T Brody 90e56683e8 SERVER-45133 Dump mutex info in hang analyzer
This reverts commit cbf705e93a73052045e7157380748198b427bcd5.
2020-04-09 23:10:40 +00:00
Spencer T Brody b0cbfa49aa Revert "SERVER-45133 Dump mutex info in hang analyzer"
This reverts commit 3fc737f00d.
2020-04-08 22:03:53 +00:00
Spencer T Brody 3fc737f00d SERVER-45133 Dump mutex info in hang analyzer 2020-04-07 21:12:37 +00:00
William Schultz e09a81707d SERVER-42371 Use get_unique_ptr helper in mongod-dump-sessions GDB command 2019-07-24 16:51:49 -04:00
Max Hirschhorn 4bdf1fd63d SERVER-42032 Replace parse_and_eval() usage in mongodb-javascript-stack. 2019-07-12 14:15:28 -04:00
Max Hirschhorn 56de1d3776 SERVER-39923 Fix lint. 2019-04-20 10:40:55 -04:00
Mathew Robinson b8d3c0f484 SERVER-39923 Mongo gdb extensions should error when loaded into gdb compiled against python2 2019-04-19 16:05:34 -04:00
William Schultz a76bf86f90 SERVER-39969 Update the 'mongod-dump-sessions' GDB command to be compatible with the new internal format of TransactionParticipant 2019-04-08 20:10:16 -04:00
Mathew Robinson 8dd6d47557 SERVER-32295 Support Python 3 2019-04-08 14:08:49 -04:00
Mark Benvenuto 9ef7f78e3c SERVER-39972 libstdc++ unique_ptr implementation changed in GCC 7 2019-03-06 11:48:55 -05:00
William Schultz 0a91b03144 SERVER-38944 Print out Locker id in DumpMongoDSessionCatalog 2019-02-01 16:05:37 -05:00
Andrew Morrow a0aef148ed SERVER-39098 Fix escaping in javascript_stack GDB extension 2019-01-31 15:50:38 -05:00
Andrew Morrow a285618a35 SERVER-36651 SERVER-36652 SERVER-37600 Upgrade to V3 toolchain and XCode 10 everywhere 2019-01-30 21:10:29 -05:00
Daniel Gottlieb 2e4123624e SERVER-39013: Add a gdb pretty printer for absl::flat_hash_map. 2019-01-15 22:41:14 -05:00
Mark Benvenuto 1450cb7181 SERVER-38757 Fix Python Lint 2019-01-04 17:02:09 -05:00
Gregory Wlodarek 9d6e9a5b59 SERVER-38757 fix lint 2019-01-04 13:06:42 -05:00
Mark Benvenuto f11fb53bfd SERVER-38757 Add pretty printers for abseil hash map and set 2019-01-04 11:41:35 -05:00
William Schultz d504699a4b SERVER-38045 Only print fields from the Session if they exist 2018-12-20 18:38:27 -05:00
William Schultz 265493e4c9 SERVER-38045 Print '_killsRequested' variable instead of '_killRequested' when dumping SessionCatalog in GDB 2018-12-19 11:31:11 -05:00
William Schultz 35da9daad1 SERVER-38045 Add GDB tools for dumping the SessionCatalog in the hang analyzer 2018-12-11 15:19:23 -05:00
Daniel Gottlieb c900b4bd14 SERVER-38313: Update BSON decoding in GDB pretty printing. 2018-11-30 09:14:54 -05:00
Max Hirschhorn e01cdb6739 SERVER-37387 Clarify how lock mode displayed refers to mode held. 2018-10-10 16:15:45 -04:00
Siyuan Zhou 7a9b195b16 SERVER-36626 Draw wait-for graph from left to right 2018-10-08 19:48:51 -04:00
Max Hirschhorn 8e46857abf SERVER-37228 Escape ID in addition to label in waits-for graph. 2018-10-08 14:41:48 -04:00
Jonathan Abrahams 1dc2ac35ba SERVER-34738 mongo_lock.py graph should display lock type for LockManager locks 2018-08-22 14:21:33 -04:00
Max Hirschhorn 684d7fce79 SERVER-36230 Handle non-templatized LockerImpl class in gdb scripts. 2018-08-02 10:28:14 -04:00
Daniel Gottlieb 71750f6060 SERVER-36167: Add flags pretty printing for WT session/txn/cursor. 2018-07-19 14:34:19 -04:00
Daniel Gottlieb cf34f10d36 SERVER-34512: Patch mongo_printers.py to understand decorable changes. 2018-04-18 16:21:03 -04:00
James Wahlin 27932e642e SERVER-34519 mongo_lock.py generating malformed graphviz output 2018-04-18 13:03:56 -04:00
James Wahlin adcbe28e5c SERVER-34334 Update Locker _threadId when stashing/unstashing 2018-04-18 13:03:56 -04:00
Jonathan Abrahams 68005e0ffc SERVER-23312 Enable Python formatting/linting for buildscripts & pytests files 2018-04-11 16:29:32 -04:00
Samy Lanka d91bc3cde8 SERVER-33987 add thread name to hang analyzer output 2018-04-11 16:17:26 -04:00
Jonathan Abrahams b41f62de9f SERVER-23312 Fix buildscripts/gdb/mongo_lock.py 2018-04-11 11:56:45 -04:00
Jonathan Abrahams c50c68fef1 SERVER-23312 Python linting - Lint using pylint, pydocstyle & mypy 2018-04-05 14:41:58 -04:00
Jonathan Abrahams 36148ad8bb SERVER-23312 Format Python files with yapf 2018-03-26 13:04:25 -04:00
Jonathan Reams 6661b9abbb SERVER-32853 GDB shouldn't look for non-existent 'location' field in Status 2018-02-09 10:59:48 -05:00
Eddie Louie 508a73f1ac SERVER-31841 In find_mutex_holder handle when mutex_holder not found in thread_dict 2017-12-19 10:08:26 -05:00
Jonathan Abrahams caa31b2d9e SERVER-28825 Do not decode BSONObj in pretty printer if the value is optimized out by checking with is_optimized_out. 2017-06-15 09:42:12 -04:00
Jonathan Abrahams 134d2ba06c SERVER-28825 Do not decode BSONObj in pretty printer if the value is optimized out 2017-06-14 10:11:50 -04:00
Eddie Louie e2196c8ee5 SERVER-28971 Error in depth_first_search algorithm incorrectly recurses on visited nodes 2017-04-25 17:44:24 -04:00
Jonathan Abrahams c2cb98f46c SERVER-28348 Add cycle detect message for detecting single-process deadlocks involving LockManager locks and/or pthread_mutexes 2017-04-21 11:08:00 -04:00
Jonathan Abrahams d4c16656d7 SERVER-28348 Detect single-process deadlocks involving LockManager locks and/or pthread_mutexes 2017-04-20 14:31:26 -04:00
Jonathan Abrahams d8239071cb SERVER-28588 Handle GDB error in hang_analyzer.py find_frame function 2017-04-03 15:40:04 -04:00
Jonathan Abrahams d6552eddac SERVER-28416 Split mongo pretty printers into separate file 2017-03-30 08:55:44 -04:00