diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2009-12-07 15:50:51 -0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2009-12-07 15:50:51 -0200 |
commit | 7d33dd16faaf8a58e85628f868a75f54d8bb3822 (patch) | |
tree | fa7a80d4fe7da9db093128c36aaee21e40a69e26 | |
parent | 3a71daee86d112f33d0a222fa18decca7fffe6a1 (diff) | |
download | tuna-7d33dd16faaf8a58e85628f868a75f54d8bb3822.tar.gz |
cmdline: Fix threaded interrupt name bug
Introduced in:
50f1a4234d03a7766d406f3ec53bf1fff2f0a644 "tuna: Handle 2.6.31 style threaded irq names"
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
-rwxr-xr-x | tuna-cmd.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tuna-cmd.py b/tuna-cmd.py index cf1f3fb..676c765 100755 --- a/tuna-cmd.py +++ b/tuna-cmd.py @@ -181,7 +181,7 @@ def ps_show_thread(pid, affect_children, ps, try: if not irqs: irqs = procfs.interrupts() - if cmd[4:] == "IRQ-": + if cmd[:4] == "IRQ-": users = irqs[tuna.irq_thread_number(cmd)]["users"] for u in users: if u in get_nics(): |