diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-09-21 04:18:27 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-09-21 06:54:51 -0400 |
commit | 65abc8653c282ded3dbdb9ec1227784140ba28cd (patch) | |
tree | 299d9dc0e3548016cc01eb2b13db6ea51d519ebb /include | |
parent | ae82bfd61ca7e57cc2d914add9ab0873e260f2f5 (diff) |
perf_counter: Rename list_entry -> group_entry, counter_list -> group_list
This is in preparation of the big rename, but also makes sense
in a standalone way: 'list_entry' is a bad name as we already
have a list_entry() in list.h.
Also, the 'counter list' is too vague, it doesnt tell us the
purpose of that list.
Clarify these names to show that it's all about the group
hiearchy.
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/perf_counter.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h index 740caad09a44..f64862732673 100644 --- a/include/linux/perf_counter.h +++ b/include/linux/perf_counter.h | |||
@@ -543,7 +543,7 @@ struct perf_pending_entry { | |||
543 | */ | 543 | */ |
544 | struct perf_counter { | 544 | struct perf_counter { |
545 | #ifdef CONFIG_PERF_COUNTERS | 545 | #ifdef CONFIG_PERF_COUNTERS |
546 | struct list_head list_entry; | 546 | struct list_head group_entry; |
547 | struct list_head event_entry; | 547 | struct list_head event_entry; |
548 | struct list_head sibling_list; | 548 | struct list_head sibling_list; |
549 | int nr_siblings; | 549 | int nr_siblings; |
@@ -649,7 +649,7 @@ struct perf_counter_context { | |||
649 | */ | 649 | */ |
650 | struct mutex mutex; | 650 | struct mutex mutex; |
651 | 651 | ||
652 | struct list_head counter_list; | 652 | struct list_head group_list; |
653 | struct list_head event_list; | 653 | struct list_head event_list; |
654 | int nr_counters; | 654 | int nr_counters; |
655 | int nr_active; | 655 | int nr_active; |