This website requires JavaScript.
Explore
Help
Sign in
beenull
/
moby
Watch
1
Star
0
Fork
You've already forked moby
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
ac9b38b60d
moby
/
daemon
/
debugtrap_unsupported.go
8 lines
98 B
Go
Raw
Normal View
History
Unescape
Escape
Windows: Win32 event for sigusr1 linux equivalence Signed-off-by: John Howard <jhoward@microsoft.com>
2015-07-07 01:58:53 +00:00
// +build !linux,!darwin,!freebsd,!windows
Add SIGUSR1 handler for dumping stack/goroutine traces Add handler for SIGUSR1 based on feedback regarding when to dump goroutine stacks. This will also dump goroutine stack traces on SIGQUIT followed by a hard-exit from the daemon. Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com> (github: estesp)
2015-04-21 04:24:24 +00:00
Fix package on debugtrap_unsupported.go Signed-off-by: John Howard <jhoward@microsoft.com>
2015-05-13 23:38:59 +00:00
package
daemon
Add SIGUSR1 handler for dumping stack/goroutine traces Add handler for SIGUSR1 based on feedback regarding when to dump goroutine stacks. This will also dump goroutine stack traces on SIGQUIT followed by a hard-exit from the daemon. Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com> (github: estesp)
2015-04-21 04:24:24 +00:00
Windows: Win32 event for sigusr1 linux equivalence Signed-off-by: John Howard <jhoward@microsoft.com>
2015-07-07 01:58:53 +00:00
func
setupDumpStackTrap
(
)
{
Add SIGUSR1 handler for dumping stack/goroutine traces Add handler for SIGUSR1 based on feedback regarding when to dump goroutine stacks. This will also dump goroutine stack traces on SIGQUIT followed by a hard-exit from the daemon. Docker-DCO-1.1-Signed-off-by: Phil Estes <estesp@linux.vnet.ibm.com> (github: estesp)
2015-04-21 04:24:24 +00:00
return
}
Reference in a new issue
Copy permalink