Comment 0 for bug 1812318

Revision history for this message
Po-Hsu Lin (cypressyew) wrote :

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

DEBUGFS_DIR=/sys/kernel/debug
TRACING_DIR=/sys/kernel/debug/tracing

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-1028-kvm 4.15.0-1028.28
ProcVersionSignature: User Name 4.15.0-1028.28-kvm 4.15.18
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)