This test failed with:
Error: No ftrace directory found
In the script:
DEBUGFS_DIR=`grep debugfs /proc/mounts | cut -f2 -d' ' | head -1`
if [ -z "$DEBUGFS_DIR" ]; then TRACING_DIR=`grep tracefs /proc/mounts | cut -f2 -d' ' | head -1`
else TRACING_DIR=$DEBUGFS_DIR/tracing
fi
The script exit here:
# Verify parameters
if [ -z "$TRACING_DIR" -o ! -d "$TRACING_DIR" ]; then
errexit "No ftrace directory found"
fi
This test failed with:
Error: No ftrace directory found
In the script: DIR=`grep debugfs /proc/mounts | cut -f2 -d' ' | head -1`
TRACING_ DIR=`grep tracefs /proc/mounts | cut -f2 -d' ' | head -1`
TRACING_ DIR=$DEBUGFS_ DIR/tracing
DEBUGFS_
if [ -z "$DEBUGFS_DIR" ]; then
else
fi
The script exit here:
# Verify parameters
if [ -z "$TRACING_DIR" -o ! -d "$TRACING_DIR" ]; then
errexit "No ftrace directory found"
fi
DEBUGFS_ DIR=/sys/ kernel/ debug DIR=/sys/ kernel/ debug/tracing
TRACING_
ProblemType: Bug 4.15.0- 1028-kvm 4.15.0-1028.28 ature: User Name 4.15.0-1028.28-kvm 4.15.18
DistroRelease: Ubuntu 18.04
Package: linux-image-
ProcVersionSign
Uname: Linux 4.15.0-1028-kvm x86_64
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
Date: Fri Jan 18 03:04:17 2019
SourcePackage: linux-kvm
UpgradeStatus: No upgrade log present (probably fresh install)