Skip to content

Commit

Permalink
task: address review comments for new helpers.
Browse files Browse the repository at this point in the history
1. Merge state wise iterators and counters into
one function, where iteration/counting will happen
as per specified state.

2. address inconsistency between values of task state
macros in UEK-4 and later kernels.

Also, remove "is_task_struct_leaking" helper from this PR.
I have found that in UEK-5 with cgroups multiple task_stuct
slab caches are bing created and also the number of allocated
objects in them is different in drgn and crash. This needs
to be debugged first and then can be integrated via a separate
PR.

Signed-off-by: Imran Khan <[email protected]>

 Conflicts:
	drgn_tools/task.py
  • Loading branch information
imran-kn committed Apr 6, 2024
1 parent eab8b80 commit f5bce97
Show file tree
Hide file tree
Showing 2 changed files with 138 additions and 567 deletions.
Loading

0 comments on commit f5bce97

Please sign in to comment.