Re: [PATCH 2/8] trace/trace_stat: use rbtree postorder iteration helper instead of opencoding

2013-11-04 Thread Steven Rostedt
On Mon, 04 Nov 2013 00:49:21 -0800 Cody P Schafer wrote: > On 11/01/2013 07:45 PM, Steven Rostedt wrote: > > On Fri, 1 Nov 2013 15:38:46 -0700 > > Cody P Schafer wrote: > > > >> Use rbtree_postorder_for_each_entry_safe() to destroy the rbtree instead > >> of opencoding an alternate postorder it

Re: [PATCH 2/8] trace/trace_stat: use rbtree postorder iteration helper instead of opencoding

2013-11-04 Thread Cody P Schafer
On 11/01/2013 07:45 PM, Steven Rostedt wrote: On Fri, 1 Nov 2013 15:38:46 -0700 Cody P Schafer wrote: Use rbtree_postorder_for_each_entry_safe() to destroy the rbtree instead of opencoding an alternate postorder iteration that modifies the tree Signed-off-by: Cody P Schafer --- kernel/tra

Re: [PATCH 2/8] trace/trace_stat: use rbtree postorder iteration helper instead of opencoding

2013-11-01 Thread Steven Rostedt
On Fri, 1 Nov 2013 15:38:46 -0700 Cody P Schafer wrote: > Use rbtree_postorder_for_each_entry_safe() to destroy the rbtree instead > of opencoding an alternate postorder iteration that modifies the tree > > Signed-off-by: Cody P Schafer > --- > kernel/trace/trace_stat.c | 42 ++---

[PATCH 2/8] trace/trace_stat: use rbtree postorder iteration helper instead of opencoding

2013-11-01 Thread Cody P Schafer
Use rbtree_postorder_for_each_entry_safe() to destroy the rbtree instead of opencoding an alternate postorder iteration that modifies the tree Signed-off-by: Cody P Schafer --- kernel/trace/trace_stat.c | 42 ++ 1 file changed, 6 insertions(+), 36 deletion