• Arnaldo Carvalho de Melo's avatar
    perf evlist: Split perf_evlist__id_hash · 3d3b5e95
    Arnaldo Carvalho de Melo authored
    The previous situation was to receive an fd from where to read the event
    ID.
    
    Spin off a routine for when we have the ID handy, not having to read it
    from some fd.
    
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Mike Galbraith <efault@gmx.de>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Stephane Eranian <eranian@google.com>
    Cc: Tom Zanussi <tzanussi@gmail.com>
    LKML-Reference: <new-submission>
    Signed-off-by: default avatarArnaldo Carvalho de Melo <acme@redhat.com>
    3d3b5e95
evlist.c 9.44 KB