On Wed, Dec 14, 2016 at 11:44 PM, Vadim Kochan <[email protected]> wrote: > Add proc_find_by_inode(...) which finds pid by inode & gets processe's > command line. > > Actually this function was taken from flowtop.c walk_process(...) > and refactored to look more generic. > > Signed-off-by: Vadim Kochan <[email protected]> > > flowtop: Replace walk_processes(...) by proc_find_by_inode(...) > > Use proc_find_by_inode(...) from proc.c to find pid by inode > and it's command line instead of having own specific process walker. > > Signed-off-by: Vadim Kochan <[email protected]> > --- > v2: > 1) Add static to __match_pid_by_inode(...) > 2) Remove sys/stat.h & dirent.h includes from flowtop.c > 3) Squash changes into one patch > > flowtop.c | 78 > ++++++++------------------------------------------------------- > proc.c | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > proc.h | 1 +
Ahhh, I did not correct squash .. will fix it ... -- You received this message because you are subscribed to the Google Groups "netsniff-ng" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
