• Peter Zijlstra's avatar
    perf: Optimize perf_output_copy() · 5d967a8b
    Peter Zijlstra authored
    Reduce the clutter in perf_output_copy() by keeping
    an interator in perf_output_handle.
    Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Mike Galbraith <efault@gmx.de>
    Cc: Steven Rostedt <rostedt@goodmis.org>
    LKML-Reference: <20100521090710.742809176@chello.nl>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    5d967a8b
perf_event.c 131 KB