[Crash-utility] [PATCH v2 00/25] support hiding data of offline cpu

Dave Anderson anderson at redhat.com
Thu Oct 2 12:58:54 UTC 2014



----- Original Message -----
> Hello Dave,
> 
> On 09/30/2014 11:21 PM, Dave Anderson wrote:
> > Regardless whether the cpu is online or not, the cpu's swapper task exists
> > and is always runnable, so the output is showing its legitimate state.  And
> > since no other task is queued on the cpu's run queue, then it's essentially
> > the "active" task on that cpu, waiting for it to come back online.  I'm not
> > sure why this is so bothersome to you?
> 
> It bothers me because ps shows swapper task on offline cpu and other active
> tasks are in the same style. What I want is to show it is different. I wish
> to distinguish the swapper task on offline cpu directly without having to
> check which cpu is offline firstly.
> 
> I would like omitting ">" of idle task on offline cpu and adding "[OFFLINE]"
> at the end of the line when "offline" set to "hide". And maybe you would like
> adding "[OFFLINE]" at the end of those sleeping tasks of offline cpu as well.

I really don't want to append [OFFLINE] to the line, because the task itself
is not offline, but rather the cpu it is assigned to.  How about just changing
the ">" with "-"?

Dave




More information about the Crash-utility mailing list