On 08/01/06 14:59, Dave Anderson wrote:
> Troy Heber wrote:
> So we should be able to add CONFIG_HZ to the parse[]
array
> in read_config(), and then just do an atoi(val) to get
its value?
Yep, I tried to make the parse routine robust enough to get
everything
we care about. I used the NR_CPU case to illustrate.
Don't forget that we also need to update the LIST_SIZE
define when
adding an item to the parse list, it's probably a good idea
to pull
that out of defs.h and define it right next to the list
definition.
> If you get a minute, can you try that?
Yep, works fine.
Troy
--
Crash-utility mailing list
Crash-utility redhat.com
https://www.redhat.com/mailman/listinfo/crash-utility
|