perf/core: Fix address filter parser for multiple filters
authorAdrian Hunter <adrian.hunter@intel.com>
Mon, 31 Jan 2022 07:24:51 +0000 (09:24 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 2 Feb 2022 12:11:42 +0000 (13:11 +0100)
commitd680ff24e9e14444c63945b43a37ede7cd6958f9
tree0033b42173266bf4fb1e3e372794b00dce78d8ab
parent1fb85d06ad6754796cd1b920639ca9d8840abefd
perf/core: Fix address filter parser for multiple filters

Reset appropriate variables in the parser loop between parsing separate
filters, so that they do not interfere with parsing the next filter.

Fixes: 375637bc524952 ("perf/core: Introduce address range filtering")
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20220131072453.2839535-4-adrian.hunter@intel.com
kernel/events/core.c