Skip to content
Commit ac20de6f authored by Zheng Yan's avatar Zheng Yan Committed by Ingo Molnar
Browse files

perf/tool: Make the event parser re-entrant



Make the event parser reentrant by creating separate
scanner for each parsing. The scanner is passed to the bison
as and argument to the lexer.

Signed-off-by: default avatarZheng Yan <zheng.z.yan@intel.com>
[ Cleaned up the patch. ]
Signed-off-by: default avatarJiri Olsa <jolsa@redhat.com>
Signed-off-by: default avatarPeter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1339741902-8449-11-git-send-email-zheng.z.yan@intel.com
Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent 46010ab2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment