File: module-LOADED.test

package info (click to toggle)
kpatch 0.9.11-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,796 kB
  • sloc: ansic: 9,950; sh: 2,677; makefile: 260; asm: 35
file content (9 lines) | stat: -rwxr-xr-x 205 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
#!/bin/bash

set -o errexit

sudo modprobe xfs
sleep 5
echo "file fs/xfs/xfs_stats.c +p" > /sys/kernel/debug/dynamic_debug/control
grep -q kpatch /sys/fs/xfs/stats/stats
dmesg | grep -q "kpatch: pr_debug"