ver_linux: Process input coming from procmaps that matches libc only
authorAlexander Kapshuk <alexander.kapshuk@gmail.com>
Thu, 31 May 2018 19:22:46 +0000 (22:22 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Jul 2018 15:44:52 +0000 (17:44 +0200)
commit34fe3cfda826e221d15610aa07364384bf8adb94
treee742b33f8d0cb6c8106ac97e412083a52e51f639
parentce054546cc2c26891cefa2f284d90d93b52205de
ver_linux: Process input coming from procmaps that matches libc only

Currently, input coming from /proc/self/maps is split into fields without
checking whether or not it matches libc.so. This is not efficient.
All text processing should only be performed on lines of input that
match libc.so.

Signed-off-by: Alexander Kapshuk <alexander.kapshuk@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
scripts/ver_linux