dtrace_aggregate_walk_valrevsorted() Function

This function walks aggregations in reverse order sorted by value. This function displays output similar to the following example.

ioctl                                              650
p_online                                           256
pollsys                                            178
lwp_park                                            53
portfs                                              40
write                                               27
read                                                26
gtime                                                5
open                                                 4
brk                                                  4
sysconfig                                            3
pset                                                 3
nanosleep                                            3
lwp_sigmask                                          2
lwp_cond_wait                                        2
close                                                2
yield                                                1
schedctl                                             1
rename                                               1
mmap                                                 1
mkdir                                                1
lstat                                                1
getpid                                               1
fchmod                                               1

Note:

This aggregation also can be achieved by setting the aggsortrev option in a D program.

This function appear to process data from separate aggregations. For example, the function prints the data from aggregation A before printing the data from aggregation B. The data from all aggregations are processed, but the function sorts the data by aggregation variable ID first before sorting by value in reverse order. The remaining functions change this order so that data from separate aggregations might intermingle.