Commit Graph

56 Commits

Author SHA1 Message Date
Max Hirschhorn 0f21c7704b SERVER-76543 Fix get_unique_ptr() used by GDB pretty printers.
Adds a new get_unique_ptr_bytes() function to retain the specialization
for std::unique_ptr<unsigned char[]>.

(cherry picked from commit e77c5df954)
2023-04-28 16:38:14 +00:00
Alexander Neben 4017f19730 SERVER-69148 Added looser python linting back to mongo pretty printers 2023-01-25 04:39:43 +00:00
Alexander Neben d798eacdd1 SERVER-72816 Removed gdb calls to getGlobalLockManager 2023-01-25 02:22:28 +00:00
Andrew Morrow 7657e615d2 SERVER-62994 Use v4 toolchain for everything except clang format
It has been a pleasure working here and quite the wild ride.

Good luck everyone.
2022-12-13 23:03:13 +00:00
Daniel Moody 138c6becd7 SERVER-71978 improve stdlib pretty printers selection 2022-12-09 17:29:13 +00:00
Daniel Moody fb23430fd3 SERVER-62995 SERVER-62074 update pretty printers to work with v4 and add tests 2022-12-05 14:38:52 +00:00
Mohammad Dashti b50819d5ff SERVER-68286 Improved lifetime issues with `mongo::mozjs::currentJSScope` 2022-11-22 22:12:53 +00:00
Alexander Neben 97ac02fa50 SERVER-68593 Disable low value python warnings 2022-09-02 22:55:09 +00:00
Billy Donahue 95edbf51b9 SERVER-63852 ThreadName rewrite 2022-05-13 04:58:26 +00:00
Alexander Neben 90a033ffa1 SERVER-64352 mongo shell no longer built by default 2022-05-13 01:38:01 +00:00
Cheahuychou Mao 53eaaa11e4 SERVER-65505 Make the gdb pretty printers for Session/TransactionParticipant work with the latest version of the SessionCatalog 2022-04-13 21:27:37 +00:00
Benety Goh 9cdf162eaf SERVER-61177 Create GDB command to dump storage engine info
This also adds the new command to the hang analyzer script.
2021-11-03 17:16:11 +00:00
Benety Goh 2351697b14 SERVER-60985 gdb helper includes WT_SESSION when dumping WT recovery units 2021-10-26 20:04:41 +00:00
Benety Goh 0940626497 SERVER-60985 SERVER-59856 gdb helper logs decoration type lookup error 2021-10-26 19:10:47 +00:00
Benety Goh e40e2c6027 SERVER-58278 update gdb hang analyzer call to global lock manager 2021-07-09 16:15:39 +00:00
Daniel Gottlieb 87e10cc399 SERVER-57326: Add bson data gdb pretty printer function. 2021-06-01 20:28:20 +00:00
Ben Caimano b0f7369dfb SERVER-52821 Allow thread names to be cached by unique id 2020-12-03 20:34:08 +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
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
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
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
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 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 Abrahams d6552eddac SERVER-28416 Split mongo pretty printers into separate file 2017-03-30 08:55:44 -04:00
Jonathan Abrahams 3412b99e9f SERVER-28416 Fix BSONObj pretty printer used in hang_analyzer to support big and little endianness 2017-03-29 16:26:26 -04:00
Jonathan Abrahams e9e806ee1f SERVER-28416 Continue on error in mongodb-uniqstack in hang_analyzer 2017-03-29 08:47:35 -04:00
Mathias Stearn 8056164a27 SERVER-27727 Note location where thread is marked idle 2017-03-24 16:13:26 -04:00
Mathias Stearn 27ddad2221 SERVER-27727 Hide idle threads in hang analyzer (core only) 2017-03-24 16:13:26 -04:00
Mathias Stearn a4ebe76b6d SERVER-28291 use frame.pc() rather than frame.name() for stack deduping 2017-03-24 16:13:26 -04:00
Mathias Stearn 77f7e96fdc SERVER-27727 Make threadName a native thread_local so debuggers can get to it 2017-03-24 16:13:26 -04:00
Jonathan Abrahams 19abe0c2da SERVER-27874 - Hang analysis thread backtrace and mongo locks
- Run unique thread on Solaris
  - Add a legend to graph file
  - Do not generate digraph file, if graph is empty
2017-03-21 15:45:39 -04:00