mirror of
https://github.com/torvalds/linux.git
synced 2026-07-29 02:31:27 +02:00
Add a runtime test for -H/--house-keeping option for both osnoise and timerlat tools, with affinity checking similar to what is done for -c/--cpus. Reviewed-by: Wander Lairson Costa <wander@redhat.com> Link: https://lore.kernel.org/r/20260423130558.882022-8-tglozar@redhat.com Signed-off-by: Tomas Glozar <tglozar@redhat.com>
5 lines
136 B
Bash
Executable File
5 lines
136 B
Bash
Executable File
#!/bin/bash
|
|
# SPDX-License-Identifier: GPL-2.0
|
|
pid=$(ps -o ppid= $$)
|
|
echo "Affinity of threads:$(taskset -c -p $pid | cut -d ':' -f 2)"
|