Commit ad09667
committed
pstack: drop task_on_cpu() helper
This was introduced in drgn 0.0.33. For UEK it's doing nothing more than
"cpu_curr(prog, task_cpu(task)) == task". So open-code it instead. This
fixes errors like:
ImportError: cannot import name 'task_on_cpu' from 'drgn.helpers.linux' (/usr/lib64/python3.9/site-packages/drgn/helpers/linux/__init__.py)
Signed-off-by: Stephen Brennan <[email protected]>1 parent f67aa34 commit ad09667
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | 60 | | |
62 | 61 | | |
63 | 62 | | |
| |||
767 | 766 | | |
768 | 767 | | |
769 | 768 | | |
770 | | - | |
| 769 | + | |
771 | 770 | | |
772 | 771 | | |
773 | 772 | | |
| |||
0 commit comments