Documentation ¶
Overview ¶
Package crash contains constants and common utilities for crash reporter.
Index ¶
Constants ¶
View Source
const ( // CrashReporterPath is the full path of the crash reporter binary. CrashReporterPath = "/sbin/crash_reporter" // CrashReporterEnabledPath is the full path for crash handling data file. CrashReporterEnabledPath = "/var/lib/crash_reporter/crash-handling-enabled" // CorePattern is the full path of the core pattern file. CorePattern = "/proc/sys/kernel/core_pattern" )
Variables ¶
This section is empty.
Functions ¶
func ExpectedCorePattern ¶
func ExpectedCorePattern() string
ExpectedCorePattern is the content of core_pattern file that is expected to be written by crash_reporter at initialization.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.