mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-10 17:36:11 +00:00
This removes cut and pasted code and uses a more central source. Signed-off-by: Ben Widawsky <benjamin.widawsky@intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
16 lines
284 B
Bash
Executable File
16 lines
284 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# This check if we can crash the kernel with segmentation-fault
|
|
# by reading /sys/kernel/debug/dri/0/i915_emon_status too quickly
|
|
#
|
|
|
|
. ./drm_lib.sh
|
|
|
|
for z in $(seq 1 1000); do
|
|
cat $i915_path/i915_emon_status > /dev/null
|
|
done
|
|
|
|
# If we got here, we haven't crashed
|
|
|
|
exit 0
|