perfmon: properly unmap mmapped pages 45/34245/1
authorKlement Sekera <ksekera@cisco.com>
Tue, 26 Oct 2021 09:41:10 +0000 (11:41 +0200)
committerKlement Sekera <ksekera@cisco.com>
Tue, 26 Oct 2021 09:42:57 +0000 (11:42 +0200)
commitdec79ecf39c95054f3c7fbbf6019a032410a0231
tree1cf4b7b0ae2bf817af15cd54bed9680c2c91ba14
parent3effadc66ff8acb2e5c83645faec411de59332c2
perfmon: properly unmap mmapped pages

Add missing array index so that actual mmapped pages are unmpapped
instead of attempting to unmap array holding those pages.

Type: fix
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Change-Id: Ib8709cce1bcbfb505307c140266834b284af796c
src/plugins/perfmon/perfmon.c