perf probe: Fix multiple --vars options behavior
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Wed, 30 Mar 2011 09:25:53 +0000 (18:25 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 5 Apr 2011 18:36:04 +0000 (15:36 -0300)
commitcc446446ff48e82c157dc8c937a3490f2a2ce535
tree7c7d230dfafd23a924eba78516eeaff088a5ddf7
parentf0c4801a17cb1a762bed39a6a9d5e5be33d8a340
perf probe: Fix multiple --vars options behavior

Fix a bug that perf-probe fails to initialize libdwfl and shows incorrect error
when user gives multiple --vars options.

Cc: 2nddept-manager@sdl.hitachi.co.jp
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Lin Ming <ming.m.lin@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <20110330092553.2132.42691.stgit@ltc236.sdl.hitachi.co.jp>
Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/probe-event.c