[Crash-utility] [PATCH RFC 0/1] Filter ps output by scheduling policy

Oleksandr Natalenko oleksandr at redhat.com
Fri Oct 20 11:24:23 UTC 2017


In CEE we often analyze vmcores from customers and sometimes want
to filter tasks by scheduling policy, for instance, to identify
if customer runs realtime tasks. Doing this via foreach grepping
and then feeding back pointers to task_struct and grepping it again
is very slow, especially if customer runs thousands of tasks.

So, let's add another option for ps to filter tasks by scheduling
policy.

Oleksandr Natalenko (1):
  task: also filter ps output by ->policy

 defs.h | 12 ++++++++++
 help.c |  7 ++++--
 task.c | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----
 3 files changed, 98 insertions(+), 7 deletions(-)

-- 
2.14.2




More information about the Crash-utility mailing list