| #/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 |