File: mem_fail_trigger

package info (click to toggle)
rasdaemon 0.8.4-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 2,832 kB
  • sloc: ansic: 17,870; sh: 4,983; perl: 2,383; makefile: 212
file content (14 lines) | stat: -rwxr-xr-x 343 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
#
#  This shell script can be executed by rasdaemon in daemon mode when a
#  memory_failure_event is occured, environment variables include all
#  information reported by tracepoint.
#

echo TIMESTAMP: $TIMESTAMP
echo PFN: $PFN
echo PAGE_TYPE: $PAGE_TYPE
echo ACTION_RESULT: $ACTION_RESULT

exit 0