bryancall opened a new pull request #6751:
URL: https://github.com/apache/trafficserver/pull/6751


   Sample output:
   ```
   12:39:45 bart:(futex_script)~/dev/apache/trafficserver/tools$ sudo 
./gdb_mutex_contention.pl -f ~/futexes.out
   Running gdb over binary: /usr/local/bin/traffic_server and pid: 274016
   lock: [ET_NET 3][274016] lock 0xf4dbe0 contended 2390 times, 22365 avg us - 
total wait: 53452350
        #0  0x00007fadae90dea3 in __GI___pthread_mutex_lock (mutex=0xf4dbe0) at 
../nptl/pthread_mutex_lock.c:80
        #1  0x00007fadaef14e77 in ink_mutex_acquire (m=0xf4dbe0) at 
../../include/tscore/ink_mutex.h:48
        #2  0x00007fadaef14fdc in Diags::lock (this=0xf4db40) at 
../../include/tscore/Diags.h:256
        #3  0x00007fadaef139d2 in Diags::print_va (this=0xf4db40, 
debug_tag=0x0, diags_level=DL_Error, loc=0x51a9390, format_string=0x9b8078 
"HTTP/2 connection error code=0x%02x client_ip=%s session_id=%ld stream_id=%u 
%s", ap=0x51a91d8) at Diags.cc:250
        #4  0x00007fadaef141a7 in Diags::error_va (this=0xf4db40, 
level=DL_Error, loc=0x51a9390, format_string=0x9b8078 "HTTP/2 connection error 
code=0x%02x client_ip=%s session_id=%ld stream_id=%u %s", ap=0x51a91d8) at 
Diags.cc:469
        #5  0x00000000006682eb in Diags::error (this=0xf4db40, level=DL_Error, 
loc=0x51a9390, fmt=0x9b8078 "HTTP/2 connection error code=0x%02x client_ip=%s 
session_id=%ld stream_id=%u %s") at ../include/tscore/Diags.h:207
        #6  0x00000000007bdb48 in Http2ConnectionState::main_event_handler 
(this=0x7fad540ed0e8, event=2253, edata=0x51a9680) at 
Http2ConnectionState.cc:1070
        #7  0x000000000066c7ef in Continuation::handleEvent 
(this=0x7fad540ed0e8, event=2253, data=0x51a9680) at 
/home/bcall/dev/apache/trafficserver/iocore/eventsystem/I_Continuation.h:190
        #8  0x00000000007b043e in send_connection_event (cont=0x7fad540ed0e8, 
event=2253, edata=0x51a9680) at Http2ClientSession.cc:65
        #9  0x00000000007b3925 in Http2ClientSession::do_complete_frame_read 
(this=0x7fad540ecde0) at Http2ClientSession.cc:577
        #10 0x00000000007b3ef0 in Http2ClientSession::state_process_frame_read 
   ```
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to