diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2008-08-12 18:12:44 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2008-08-12 18:12:44 -0300 |
commit | 2d33c386eb2cf9ae4d734c973670a832704e6055 (patch) | |
tree | d0e639247dce85e1e8e1040db11e86b2919a728b | |
parent | ca8460429e8b65e4449d5e4f4e63bd96af890f30 (diff) | |
download | tuna-2d33c386eb2cf9ae4d734c973670a832704e6055.tar.gz |
tuna: posix_cpu_timer is percpu but its too long to have '/' in the cmdline
And also doesn't have PF_THREAD_BOUND in its per process flags...
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rwxr-xr-x | tuna/tuna.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tuna/tuna.py b/tuna/tuna.py index 9b1e21f..0c7a53c 100755 --- a/tuna/tuna.py +++ b/tuna/tuna.py @@ -413,8 +413,11 @@ def generate_rtgroups(filename, kthreads, nr_cpus): idx = 0 regex = name pass - if kt.percpu or idx != 0: + if kt.percpu or idx != 0 or name == "posix_cpu_timer": # Don't mess with workqueues, etc + # posix_cpu_timer is too long and doesn't + # have PF_THREAD_BOUND in its per process + # flags... mask = "*" else: mask = ",".join([hex(a) for a in \ |