• I
    perf report: Fix 32-bit printf format · e2eae0f5
    Ingo Molnar 提交于
    Yong Wang reported the following compiler warning:
    
     builtin-report.c: In function 'process_overflow_event':
     builtin-report.c:984: error: cast to pointer from integer of different size
    
    Which happens because we try to print ->ips[] out with a limited
    format, losing the high 32 bits. Print it out using %016Lx instead.
    Reported-by: NYong Wang <yong.y.wang@linux.intel.com>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Mike Galbraith <efault@gmx.de>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    LKML-Reference: <new-submission>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    e2eae0f5
builtin-report.c 27.0 KB