< prev index next >
test/failure_handler/src/share/conf/mac.properties
Print this page
rev 2388 : 8171366: macOS: Do not run failure handler commands that require Developer mode access
Reviewed-by:
*** 27,59 ****
config.getChildren.args=-P %p
################################################################################
# process info to gather
################################################################################
onTimeout=\
native.vmmap native.heap native.leaks native.spindump \
native.stack native.core
################################################################################
native.pattern=%p
native.javaOnly=false
native.args=%p
! # Some of them require root privileges
! native.vmmap.app=vmmap
! native.heap.app=heap
! native.leaks.app=leaks
native.spindump.app=spindump
native.spindump.args=%p -stdout
! native.stack.app=lldb
native.stack.delimiter=\0
native.stack.params.repeat=6
! native.stack.args=-o\0attach %p\0-o\0thread backtrace all\0-o\0detach\0-o\0quit
native.core.app=bash
native.core.delimiter=\0
native.core.args=-c\0gcore -o ./core.%p %p || \
! lldb -o 'attach %p' -o 'process save-core core.%p' -o 'detach' -o 'quit'
native.core.params.timeout=3600000
################################################################################
# environment info to gather
################################################################################
environment=\
--- 27,72 ----
config.getChildren.args=-P %p
################################################################################
# process info to gather
################################################################################
onTimeout=\
+ native.DevToolsSecurity \
native.vmmap native.heap native.leaks native.spindump \
native.stack native.core
################################################################################
native.pattern=%p
native.javaOnly=false
native.args=%p
! native.DevToolsSecurity.app=DevToolsSecurity
! native.DevToolsSecurity.args=--status
!
! # spindump requires root privileges
native.spindump.app=spindump
native.spindump.args=%p -stdout
! native.vmmap.app=bash
! native.vmmap.delimiter=\0
! native.vmmap.args=-c\0DevToolsSecurity --status | grep enabled > /dev/null && vmmap %p
!
! native.leaks.app=bash
! native.leaks.delimiter=\0
! native.leaks.args=-c\0DevToolsSecurity --status | grep enabled > /dev/null && leaks %p
!
! native.heap.app=bash
! native.heap.delimiter=\0
! native.heap.args=-c\0DevToolsSecurity --status | grep enabled > /dev/null && heap %p
!
! native.stack.app=bash
native.stack.delimiter=\0
native.stack.params.repeat=6
! native.stack.args=-c\0DevToolsSecurity --status | grep enabled > /dev/null && lldb -o 'attach %p' -o 'thread backtrace all' -o 'detach' -o 'quit'
native.core.app=bash
native.core.delimiter=\0
native.core.args=-c\0gcore -o ./core.%p %p || \
! (DevToolsSecurity --status | grep enabled > /dev/null && lldb -o 'attach %p' -o 'process save-core core.%p' -o 'detach' -o 'quit')
native.core.params.timeout=3600000
################################################################################
# environment info to gather
################################################################################
environment=\
*** 87,97 ****
process.top.args=-l 1
memory.vmstat.app=vm_stat
memory.vmstat.args=-c 3 3
-
netstat.app=netstat
netstat.av.args=-av
netstat.aL.args=-aL
netstat.m.args=-m
netstat.s.args=-s
--- 100,109 ----
< prev index next >