• L
    perf tools: Pass whole attr to event selectors · 23a2f3ab
    Lin Ming 提交于
    Since commit 69aad6f1(perf tools: Introduce event selectors), only
    perf_event_attr::type and ::config are passed to event selector, which
    makes perf tool not work correctly.
    
    For example, PEBS does not work because perf_event_attr::precise_ip is
    not passed to the syscall.
    
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Peter Zijlstra <peterz@infradead.org>
    LKML-Reference: <1294369869.20563.19.camel@minggr.sh.intel.com>
    Signed-off-by: NLin Ming <ming.m.lin@intel.com>
    Signed-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
    23a2f3ab
builtin-test.c 9.2 KB