• Frederic Weisbecker's avatar
    perf: Fix hlist related build error · 95476b64
    Frederic Weisbecker authored
    hlist helpers need to be available for all software events, not
    only trace events.
    
    Pull them out outside the ifdef CONFIG_EVENT_TRACING section.
    
    Fixes:
    	kernel/perf_event.c:4573: error: implicit declaration of function 'swevent_hlist_put'
    	kernel/perf_event.c:4614: error: implicit declaration of function 'swevent_hlist_get'
    	kernel/perf_event.c:5534: error: implicit declaration of function 'swevent_hlist_release
    Reported-by: default avatarIngo Molnar <mingo@elte.hu>
    Signed-off-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Paul Mackerras <paulus@samba.org>
    LKML-Reference: <1271281338-23491-1-git-send-regression-fweisbec@gmail.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    95476b64
perf_event.c 128 KB