perf probe: Fix need_dwarf flag if lazy matching is used
authorMasami Hiramatsu <mhiramat@redhat.com>
Fri, 12 Mar 2010 23:22:24 +0000 (18:22 -0500)
committerIngo Molnar <mingo@elte.hu>
Sat, 13 Mar 2010 07:32:22 +0000 (08:32 +0100)
commitfc6ceea045031658d0b59af562369eae980b4370
treef1658e729ecc52febf6729f146d6ee6892a28aea
parent594087a04eea544356f9c52e83c1a9bc380ce80f
perf probe: Fix need_dwarf flag if lazy matching is used

Set need_dwarf if lazy matching pattern is specified, because
lazy matching requires real source path for which we must use
debuginfo.

Signed-off-by: Masami Hiramatsu <mhiramat@redhat.com>
Cc: systemtap <systemtap@sources.redhat.com>
Cc: DLE <dle-develop@lists.sourceforge.net>
LKML-Reference: <20100312232224.2017.54550.stgit@localhost6.localdomain6>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/probe-event.c