perf_counter: Add dummy perf_counter_print_debug function
authorPaul Mackerras <paulus@samba.org>
Fri, 9 Jan 2009 06:24:34 +0000 (17:24 +1100)
committerPaul Mackerras <paulus@samba.org>
Fri, 9 Jan 2009 06:24:34 +0000 (17:24 +1100)
commit4eb96fcfe07b7f2a05577e57533840f8e26bea53
treeb3ad235de168cddf6322d907440c217f07306290
parent3cbed429a9ccdb7a243f733b1056fe5c39e9004c
perf_counter: Add dummy perf_counter_print_debug function

Impact: minimize requirements on architectures

Currently, an architecture just enabling CONFIG_PERF_COUNTERS but not
providing any extra functions will fail to build with
perf_counter_print_debug being undefined, since we don't provide an
empty dummy definition like we do with the hw_perf_* functions.

This provides an empty dummy perf_counter_print_debug() to make it
easier for architectures to turn on CONFIG_PERF_COUNTERS.

Signed-off-by: Paul Mackerras <paulus@samba.org>
kernel/perf_counter.c