Для этого сайта требуется поддержка JavaScript.
Обзор
Помощь
Регистрация
Вход
microsoft
/
docker
зеркало из
https://github.com/microsoft/docker.git
Следить
1
В избранное
0
Форкнуть
Вы уже форкнули docker
0
Код
Задачи
Пакеты
Проекты
Релизы
Вики
Активность
e0728035fe
docker
/
daemon
/
debugtrap_unsupported.go
8 строки
98 B
Go
Исходник
Обычный вид
История
Убрать экранирование
Экранировать
Windows: Win32 event for sigusr1 linux equivalence Signed-off-by: John Howard <jhoward@microsoft.com>
2015-07-07 04:58:53 +03: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 07:24:24 +03:00
Fix package on debugtrap_unsupported.go Signed-off-by: John Howard <jhoward@microsoft.com>
2015-05-14 02:38:59 +03: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 07:24:24 +03:00
Windows: Win32 event for sigusr1 linux equivalence Signed-off-by: John Howard <jhoward@microsoft.com>
2015-07-07 04:58:53 +03: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 07:24:24 +03:00
return
}