Skip to content

Commit 643342b

Browse files
committed
MGM: append time for SIGUSR2 stacktraces
Fixes: EOS-6314 Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@cern.ch>
1 parent c7c6239 commit 643342b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mgm/XrdMgmOfsConfigure.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ void xrdmgmofs_stack(int sig)
103103
std::ostringstream out;
104104

105105
if (sig == SIGUSR2) {
106+
stacktime = time(NULL);
106107
out << "# ___ thread:" << syscall(SYS_gettid) << " ";
107108
eos::common::RWMutex::PrintMutexOps(out);
108109
out << std::endl;

0 commit comments

Comments
 (0)