summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2008-09-13 16:44:38 -0300
committerArnaldo Carvalho de Melo <acme@redhat.com>2008-09-13 16:44:38 -0300
commit9dd83aac84c2b4ad0b38aa3afe295ddcd634d800 (patch)
treef2afff22b0eff7454ce137e4e5d2a55d6123e34e
parenta75670d9671bd35e18d115864a82e184d3bc4ad5 (diff)
downloadtuna-9dd83aac84c2b4ad0b38aa3afe295ddcd634d800.tar.gz
tuna_gui: Pass GUI set_affinity_warning in drop_handler_move_threads_to_cpu
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rw-r--r--tuna/tuna_gui.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tuna/tuna_gui.py b/tuna/tuna_gui.py
index f7310e3..5365a08 100644
--- a/tuna/tuna_gui.py
+++ b/tuna/tuna_gui.py
@@ -41,7 +41,8 @@ def set_affinity_warning(tid, affinity):
def drop_handler_move_threads_to_cpu(new_affinity, data):
pid_list = [ int(pid) for pid in data.split(",") ]
- return tuna.move_threads_to_cpu(new_affinity, pid_list)
+ return tuna.move_threads_to_cpu(new_affinity, pid_list,
+ set_affinity_warning)
def drop_handler_move_irqs_to_cpu(cpus, data):
irq_list = [ int(irq) for irq in data.split(",") ]