[SERVER-27877] hang_analyzer.py should deduplicate stacks from different threads in GDB Created: 31/Jan/17 Updated: 07/Sep/17 Resolved: 10/Mar/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 3.4.5, 3.5.5 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Jonathan Abrahams | Assignee: | Eddie Louie |
| Resolution: | Done | Votes: | 0 |
| Labels: | bkp | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Backport Requested: |
v3.4
|
||||
| Sprint: | TIG 2017-03-06, TIG 2017-03-27 | ||||
| Participants: | |||||
| Description |
|
siyuan.zhou wrote a script for doing it with gdb. |
| Comments |
| Comment by Githook User [ 28/Apr/17 ] |
|
Author: {u'username': u'elouie99', u'name': u'Eddie Louie', u'email': u'eddie.louie@mongodb.com'}Message: (cherry picked from commit dbf7adc73da93308ec7e769bdfa1742c548e2f17) |
| Comment by Githook User [ 10/Mar/17 ] |
|
Author: {u'username': u'elouie99', u'name': u'Eddie Louie', u'email': u'eddie.louie@mongodb.com'}Message: |
| Comment by Eddie Louie [ 03/Mar/17 ] |
|
The function is invoked in gdb after sourcing the <mongo>/buildscripts/gdb/mongo.py file. Attached is the outut from the new function I wrote to deduplicate stacks in GDB. First set of stacks are from thread apply all bt and second set are from mongodb-uniqstack bt |