Merge branch 'perf/urgent' into perf/core
authorFrederic Weisbecker <fweisbec@gmail.com>
Fri, 27 Aug 2010 00:28:40 +0000 (02:28 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Fri, 27 Aug 2010 00:30:07 +0000 (02:30 +0200)
Conflicts:
tools/perf/util/callchain.h

Merge reason:
Fix a non-trivial conflict with latest fixes

1  2 
tools/perf/util/callchain.h

@@@ -49,15 -44,15 +49,16 @@@ struct callchain_list 
        struct list_head        list;
  };
  
 -static inline void callchain_init(struct callchain_node *node)
 +static inline void callchain_init(struct callchain_root *root)
  {
 -      INIT_LIST_HEAD(&node->brothers);
 -      INIT_LIST_HEAD(&node->children);
 -      INIT_LIST_HEAD(&node->val);
 +      INIT_LIST_HEAD(&root->node.brothers);
 +      INIT_LIST_HEAD(&root->node.children);
 +      INIT_LIST_HEAD(&root->node.val);
  
 -      node->children_hit = 0;
 -      node->parent = NULL;
 -      node->hit = 0;
 +      root->node.parent = NULL;
 +      root->node.hit = 0;
++      root->node.children_hit = 0;
 +      root->max_depth = 0;
  }
  
  static inline u64 cumul_hits(struct callchain_node *node)