diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2008-09-13 16:44:38 -0300 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2008-09-13 16:44:38 -0300 |
commit | 9dd83aac84c2b4ad0b38aa3afe295ddcd634d800 (patch) | |
tree | f2afff22b0eff7454ce137e4e5d2a55d6123e34e | |
parent | a75670d9671bd35e18d115864a82e184d3bc4ad5 (diff) | |
download | tuna-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.py | 3 |
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(",") ] |