• M
    perf events: Split out task search into helper · 2ebd4ffb
    Matt Helsley 提交于
    Split out the code which searches for non-exiting tasks into its own
    helper. Creating this helper not only makes the code slightly more
    readable it prepares to move the search out of find_get_context() in
    a subsequent commit.
    Signed-off-by: NMatt Helsley <matthltc@us.ibm.com>
    Signed-off-by: NPeter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Robin Green <greenrd@greenrd.org>
    Cc: Prasad <prasad@linux.vnet.ibm.com>
    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    Cc: Steven Rostedt <rostedt@goodmis.org>
    Cc: Will Deacon <will.deacon@arm.com>
    Cc: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com>
    LKML-Reference: <561205417b450b8a4bf7488374541d64b4690431.1284407762.git.matthltc@us.ibm.com>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    2ebd4ffb
perf_event.c 141.1 KB