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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 12:23:10 +0000 (14:23 +0200)
commit929d8a87f709cb39f56c0b7afcace940e282117e
treec699675f2a6f83396585eefdbafc34727e115c14
parent3bb11f3f6872a692759f653f90d10674deb330a4
perf/core: Fix address filter parser for multiple filters

[ Upstream commit d680ff24e9e14444c63945b43a37ede7cd6958f9 ]

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
Signed-off-by: Sasha Levin <sashal@kernel.org>
kernel/events/core.c