crash

package
v0.0.0-...-683b059 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2022 License: BSD-3-Clause Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL