• Kenny Root's avatar
    Better handling for the process info array · 16abe7ac
    Kenny Root authored
    We have phones that have more than 256 PIDs running at one time right
    now, so don't segmentation fault when that condition happens.
    
    Free all proc info after it ahs been used.
    
    Also if a process goes away before we read its process name, just print
    "<unknown>" instead.
    
    Change-Id: Ia3899be61b047852f62bf3cc6f30eb2fcd797a61
    16abe7ac
Android.mk 968 Bytes