]> git.karo-electronics.de Git - karo-tx-linux.git/commit
perf events: Split out task search into helper
authorMatt Helsley <matthltc@us.ibm.com>
Mon, 13 Sep 2010 20:01:19 +0000 (13:01 -0700)
committerIngo Molnar <mingo@elte.hu>
Wed, 15 Sep 2010 08:44:00 +0000 (10:44 +0200)
commit2ebd4ffb6d0cb877787b1e42be8485820158857e
tree21db710a8f3de28f9554674e947da796a23d2e92
parentd958077d007d98125766d11e82da2fd6497b91d6
perf events: Split out task search into helper

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: Matt Helsley <matthltc@us.ibm.com>
Signed-off-by: Peter 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: Ingo Molnar <mingo@elte.hu>
kernel/perf_event.c