On 2014-10-09 10:03, Daniel Wagner wrote:
> The iterator does not return any task_struct from the thread_group list
> because the first condition in the 'if not t or ...' will only be the
> first time None.
>
> Instead of keeping track of the state ourself in the next() function,
> we fall back us
I am trying to debug something here and gave your patches a spin.
I found a small issue when trying to access threads instead only
processes.
See you next week in Duesseldorf!
Daniel Wagner (1):
scripts/gdb: Use a generator instead of iterator for task list
scripts/gdb/linux/tasks.py | 50 ++
The iterator does not return any task_struct from the thread_group list
because the first condition in the 'if not t or ...' will only be the
first time None.
Instead of keeping track of the state ourself in the next() function,
we fall back using Python's generator.
Signed-off-by: Daniel Wagner
3 matches
Mail list logo