common/rc: report kmemleak errors
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 24 Jan 2018 23:53:23 +0000 (15:53 -0800)
committerEryu Guan <eguan@redhat.com>
Thu, 25 Jan 2018 07:51:58 +0000 (15:51 +0800)
commit074740a32c6a36c5ba7d4be66dd4ee63e9f744f3
tree123adb648745d02514d202300d52bfbd29991984
parentf2afd6331d2f0c3014072390d1a440abdd0a7103
common/rc: report kmemleak errors

If kmemleak is enabled, scan and report memory leaks after every
test.

Note that the kmemleak check support is EXPERIMENTAL! Due to the way
kmemleak works, the leak might be from an earlier test, or something
totally unrelated.

[eguan: add EXPERIMENTAL disclaimer in commit log too]

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
check
common/rc