blob: 0a5ecedd52fb74a68137fbc7c8b85d367d9a36bf [file]
#/bin/bash
#
# Copyright (C) 2013-2026 Frederic Weisbecker
# Copyright (C) 2024-2026 Marco Crivellari
# SPDX-License-Identifier: GPL-3.0-or-later
# Make sure user_loop exists
make
nohz_full=$(cat /sys/devices/system/cpu/nohz_full | xargs)
if [[ "$nohz_full" != "(null)" && -n "$nohz_full" ]]
then
./cpunoise.py
./noise_parse.py -c $nohz_full trace
else
echo "ERROR: Make sure 'nohz_full' is set before execute './run'"
fi