aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-annotate.c
diff options
context:
space:
mode:
authorYan, Zheng <[email protected]>2014-03-18 08:56:41 +0000
committerIngo Molnar <[email protected]>2014-04-18 10:54:45 +0000
commitc464c76eec4be587604ca082e8cded7e6b89f3bf (patch)
tree673036d1b0058e3703ef53b69cf7547ae469141d /tools/perf/builtin-annotate.c
parentMerge branch 'perf/urgent' into perf/core, to pick up PMU driver fixes. (diff)
downloadkernel-c464c76eec4be587604ca082e8cded7e6b89f3bf.tar.gz
kernel-c464c76eec4be587604ca082e8cded7e6b89f3bf.zip
perf: Allow building PMU drivers as modules
This patch adds support for building PMU driver as module. It exports the functions perf_pmu_{register,unregister}() and adds reference tracking for the PMU driver module. When the PMU driver is built as a module, each active event of the PMU holds a reference to the driver module. Signed-off-by: Yan, Zheng <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Cc: [email protected] Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: [email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions