Top doesn't build on Solaris 12 build 13 and later
Brought to you by:
wnl
A project that recently integrated into Solaris 12 development has broken the use of pr_filler to store information for top. It's not clear why this was ever used since there is already a data structure and hash table for storing ancillary process related information. As it turns out, there is already a structure member that can store the cpu utilization information that was placed in pr_filler. The attached patch moves from using pr_filler to using the prochash table for this data.
percent_cpu.patch