Re: [PATCH] perf_event: fix perf_swevent_hrtimer()

From: Xiao Guangrong
Date: Thu Dec 10 2009 - 00:26:17 EST




Peter Zijlstra wrote:
> On Thu, 2009-12-10 at 12:14 +0800, Xiao Guangrong wrote:
>> fix:
>> [<c0477471>] ? printk+0x1d/0x24
>> [<c01c98f9>] ? perf_prepare_sample+0x269/0x280
>> [<c0149231>] warn_slowpath_common+0x71/0xd0
>> [<c01c98f9>] ? perf_prepare_sample+0x269/0x280
>> [<c01492aa>] warn_slowpath_null+0x1a/0x20
>> [<c01c98f9>] perf_prepare_sample+0x269/0x280
>> [<c016e9f3>] ? cpu_clock+0x53/0x90
>> [<c01cc368>] __perf_event_overflow+0x2a8/0x300
>> [<c01ccc3b>] perf_event_overflow+0x1b/0x30
>> [<c01ccccf>] perf_swevent_hrtimer+0x7f/0x120
>>
>> This is because 'data' variable not initialize.
>
> Nope, please just initialize the missing variable.

Ah, my mistake, I'll resend it.

Thanks,
Xiao

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/