Re: [Crash-utility] [PATCH 2/2] tree: add an option to dump the tree sorted

2018-04-12 Thread Daniel Vacek
On Thu, Apr 12, 2018 at 4:51 PM, Daniel Vacek wrote: > On Thu, Apr 12, 2018 at 3:57 PM, Dave Anderson wrote: >> >> Daniel, >> >> Hmmm, when looking at your example, I just noticed it didn't use the -t >> argument, >> but then looking at the code realized

Re: [Crash-utility] [PATCH 2/2] tree: add an option to dump the tree sorted

2018-04-12 Thread Dave Anderson
- Original Message - > On Thu, Apr 12, 2018 at 3:57 PM, Dave Anderson wrote: > > > > Daniel, > > > > Hmmm, when looking at your example, I just noticed it didn't use the -t > > argument, > > but then looking at the code realized that the command defaults to rbtrees.

Re: [Crash-utility] [PATCH 2/2] tree: add an option to dump the tree sorted

2018-04-12 Thread Daniel Vacek
On Thu, Apr 12, 2018 at 3:57 PM, Dave Anderson wrote: > > Daniel, > > Hmmm, when looking at your example, I just noticed it didn't use the -t > argument, > but then looking at the code realized that the command defaults to rbtrees. I > actually don't think that was the

Re: [Crash-utility] [PATCH 2/2] tree: add an option to dump the tree sorted

2018-04-12 Thread Dave Anderson
Daniel, Hmmm, when looking at your example, I just noticed it didn't use the -t argument, but then looking at the code realized that the command defaults to rbtrees. I actually don't think that was the original intent, but maybe that fact should should be indicated in the help page? Although

[Crash-utility] [PATCH 2/2] tree: add an option to dump the tree sorted

2018-04-12 Thread Daniel Vacek
--- defs.h | 1 + help.c | 80 + tools.c | 16 +++-- 3 files changed, 95 insertions(+), 2 deletions(-) diff --git a/defs.h b/defs.h index adddb9f2748d..ec298cbd70be 100644 --- a/defs.h +++ b/defs.h @@ -2480,6 +2480,7 @@