make find_pid_by_name look at /proc/PID/exe too
authorAlexander Shishkin <virtuoso@slind.org>
Tue, 28 Jul 2009 23:35:13 +0000 (01:35 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 28 Jul 2009 23:35:13 +0000 (01:35 +0200)
commite766f6213259d4cb3b3b0ce09aa43690215bfe4e
tree8a73d1e4a4408e3bec91f31695612f2aeaa4f4d8
parent09449630fbf0331a76a9d055fcbff0774c57ab65
make find_pid_by_name look at /proc/PID/exe too

function                                             old     new   delta
procps_scan                                         1642    1709     +67
find_pid_by_name                                     193     223     +30
free_procps_scan                                      29      37      +8

Signed-off-by: Alexander Shishkin <virtuoso@slind.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
include/libbb.h
libbb/find_pid_by_name.c
libbb/procps.c