Re: [PATCH V4 07/16] perf, x86: track number of events that use LBR callstack

From: Peter Zijlstra
Date: Wed Jul 02 2014 - 06:25:34 EST


On Mon, Jun 30, 2014 at 04:50:44PM +0800, Yan, Zheng wrote:
> void intel_pmu_lbr_enable(struct perf_event *event)
> {
> struct cpu_hw_events *cpuc = &__get_cpu_var(cpu_hw_events);
> + struct x86_perf_task_context *task_ctx;

This won't compile; you've forgotten to declare that type.

Attachment: pgp69iDQ8lVOp.pgp
Description: PGP signature