[kgtp] Issue 143 in kgtp: Build issue with 2.6.37

  • From: kgtp@xxxxxxxxxxxxxx
  • To: kgtp@xxxxxxxxxxxxx
  • Date: Thu, 09 May 2013 12:41:03 +0000

Status: Accepted
Owner: teawa...@xxxxxxxxx
Labels: Type-Defect Priority-Medium

New issue 143 by teawa...@xxxxxxxxx: Build issue with 2.6.37
http://code.google.com/p/kgtp/issues/detail?id=143

Report from D___linux <D___linux@xxxxxxx>
该版本下的perf_event.c第383行中的版本限定是有问题的。

 383 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,37))

在linux-2.6.37中
‘struct perf_event’ has no member named ‘id_header_size’
‘struct perf_event_attr’ has no member named ‘sample_id_all’
‘struct perf_event_attr’ has no member named ‘sample_id_all’

因此,该版本在linux-2.6.37上是编译不过的。

应该重新修正下该语句的版本限定。

2013-05-09
D___linux

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

Other related posts: