]> git.baikalelectronics.ru Git - kernel.git/commit
perf inject: Refactor read_buildid function
authorArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 2 May 2010 22:46:36 +0000 (19:46 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Sun, 2 May 2010 22:46:36 +0000 (19:46 -0300)
commit071281a53d346a8c7ee30f1e67391c8503f8f5c9
tree19988fe463ec3dc964d2790bf1bcfaa29dff73c8
parente1b2813bbb67d7a8e479b2016a5251c6a63f23b8
perf inject: Refactor read_buildid function

Into two functions, one that actually reads the build_id for the dso if
it wasn't already read, and another taht will inject the event if the
build_id is available.

Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Tom Zanussi <tzanussi@gmail.com>
LKML-Reference: <new-submission>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-inject.c