diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2022-05-13 04:01:14 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-08-19 18:25:51 +0000 |
commit | 466977c16e29321a14c43a9af7a315ff0d13251a (patch) | |
tree | 2f7f4c7d45892fb0a145bc7f60188188b734cfcf /buildscripts | |
parent | ef4c9bc6573ab9c05bb4b14195d7c92b053b33d2 (diff) | |
download | mongo-466977c16e29321a14c43a9af7a315ff0d13251a.tar.gz |
SERVER-63852 ThreadName rewrite
(cherry picked from commit 568226e1d66e88880daa901bea011aa8ed83d501)
(Needed to bring more errno_util updates in)
Diffstat (limited to 'buildscripts')
-rw-r--r-- | buildscripts/gdb/mongo.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buildscripts/gdb/mongo.py b/buildscripts/gdb/mongo.py index 2e1106bf121..ea3bf3c45d9 100644 --- a/buildscripts/gdb/mongo.py +++ b/buildscripts/gdb/mongo.py @@ -69,7 +69,7 @@ def get_current_thread_name(): fallback_name = '"%s"' % (gdb.selected_thread().name or '') try: # This goes through the pretty printer for StringData which adds "" around the name. - name = str(gdb.parse_and_eval("mongo::ThreadName::getStaticString()")) + name = str(gdb.parse_and_eval("mongo::getThreadName()")) if name == '""': return fallback_name return name |