summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2008-08-12 18:12:44 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2008-08-12 18:12:44 -0300
commit2d33c386eb2cf9ae4d734c973670a832704e6055 (patch)
treed0e639247dce85e1e8e1040db11e86b2919a728b
parentca8460429e8b65e4449d5e4f4e63bd96af890f30 (diff)
downloadtuna-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-xtuna/tuna.py5
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 \