[Crash-utility] [PATCH 0/2] Introduce bt -c

Aaron Tomlin atomlin at redhat.com
Mon Apr 28 10:11:41 UTC 2014


Hi Dave,

Thanks for the feedback.

> That's a great idea -- but I'd prefer not to overload the -a option.

Understood.

> Since -c is available, can you use the already-available make_cpumask()
> utility function to create a mask out of a comma or dash separated cpu
> list?  You can basically do the same thing as "irq -c" -- check out 
> "help irq" for the help page description, and cmd_irq() for a code 
> template.

OK, here you go -- followed the logic in cmd_irq().

Aaron Tomlin (2):
  Remove redundant count variable in cmd_bt
  Introduce bt -c

 help.c   | 35 ++++++++++++++++++++++++++++++++++-
 kernel.c | 40 +++++++++++++++++++++++++++++++++++-----
 2 files changed, 69 insertions(+), 6 deletions(-)

-- 
1.9.0




More information about the Crash-utility mailing list