]> git.baikalelectronics.ru Git - kernel.git/commit
perfcounters: rename struct hw_perf_counter_ops into struct pmu
authorRobert Richter <robert.richter@amd.com>
Wed, 29 Apr 2009 10:47:03 +0000 (12:47 +0200)
committerIngo Molnar <mingo@elte.hu>
Wed, 29 Apr 2009 12:51:03 +0000 (14:51 +0200)
commit977dc9b3ec04322b2f9fdf609e36679a5696a113
tree0a025a30fa5de3b40ab1ea156a3f86ee2d000839
parentc0eaf8de09ec45a8a5e23ae3eb91742eb164c17f
perfcounters: rename struct hw_perf_counter_ops into struct pmu

This patch renames struct hw_perf_counter_ops into struct pmu. It
introduces a structure to describe a cpu specific pmu (performance
monitoring unit). It may contain ops and data. The new name of the
structure fits better, is shorter, and thus better to handle. Where it
was appropriate, names of function and variable have been changed too.

[ Impact: cleanup ]

Signed-off-by: Robert Richter <robert.richter@amd.com>
Cc: Paul Mackerras <paulus@samba.org>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1241002046-8832-7-git-send-email-robert.richter@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/powerpc/kernel/perf_counter.c
arch/x86/kernel/cpu/perf_counter.c
include/linux/perf_counter.h
kernel/perf_counter.c