lkml.org 
[lkml]   [2013]   [Sep]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 14/16] perf kvm: reuse some code of perf_kvm__timerfd_create()
    On 9/12/13 6:08 AM, Ingo Molnar wrote:
    >
    > btw., I tried to build perf on a really old distro that has no timerfd.h,
    > and got:

    Right. I hit that last week or so with RHEL5 as a build server.

    timerfd was introduced before perf so any system with perf capability
    will also have timerfd. So the problem is strictly building perf on an
    older system. Are you using a tarball created by one of the 'make
    perf-*' options? Is the expectation that the resulting perf binary will
    be used for both record and report paths?

    I could compile out the feature if timerfd is not available or add a
    compat layer in perf (e.g., if not defined, define it).

    David


    \
     
     \ /
      Last update: 2013-09-12 16:01    [W:4.038 / U:0.116 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site