]> git.baikalelectronics.ru Git - kernel.git/commit
perf_counter: Rename list_entry -> group_entry, counter_list -> group_list
authorIngo Molnar <mingo@elte.hu>
Mon, 21 Sep 2009 08:18:27 +0000 (10:18 +0200)
committerIngo Molnar <mingo@elte.hu>
Mon, 21 Sep 2009 10:54:51 +0000 (12:54 +0200)
commit20a94392c0e80d0d5682ee6ef6c8a55522f3a8cc
tree299d9dc0e3548016cc01eb2b13db6ea51d519ebb
parent24d9aebdd71e6147ac328a2d2a2ce6a528b605a9
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>
include/linux/perf_counter.h
kernel/perf_counter.c