Last Comment Bug 778740 - Allow to use Linux kernel headers for perf events
: Allow to use Linux kernel headers for perf events
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: Build Config (show other bugs)
: unspecified
: All Linux
: -- normal (vote)
: mozilla17
Assigned To: Mike Hommey [:glandium]
:
:
Mentors:
Depends on: 742795
Blocks: 780357
  Show dependency treegraph
 
Reported: 2012-07-30 08:05 PDT by Mike Hommey [:glandium]
Modified: 2012-08-05 10:42 PDT (History)
1 user (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Allow to use Linux kernel headers for perf events (6.43 KB, patch)
2012-07-30 08:34 PDT, Mike Hommey [:glandium]
no flags Details | Diff | Splinter Review
Allow to use Linux kernel headers for perf events (6.43 KB, patch)
2012-07-30 09:18 PDT, Mike Hommey [:glandium]
khuey: review+
Details | Diff | Splinter Review

Description Mike Hommey [:glandium] 2012-07-30 08:05:46 PDT
The Android NDK and gonk don't come with the perf_event.h header, nor with the __NR_perf_event_open define. They are both available in the Linux kernel headers. In B2G builds, it's possible to use the kernel headers from the kernel sources. For Android, we could deploy arm kernel headers somewhere on the build slaves.
Comment 1 Mike Hommey [:glandium] 2012-07-30 08:34:40 PDT
Created attachment 647188 [details] [diff] [review]
Allow to use Linux kernel headers for perf events
Comment 2 Mike Hommey [:glandium] 2012-07-30 08:50:08 PDT
Comment on attachment 647188 [details] [diff] [review]
Allow to use Linux kernel headers for perf events

Mmmm doesn't work properly.
Comment 3 Mike Hommey [:glandium] 2012-07-30 09:18:00 PDT
Created attachment 647198 [details] [diff] [review]
Allow to use Linux kernel headers for perf events
Comment 5 Ed Morley [:emorley] 2012-08-04 11:16:56 PDT
https://hg.mozilla.org/mozilla-central/rev/040c3b5a99d0

Note You need to log in before you can comment on or make changes to this bug.