blob: 8000d60b4bc7ab4765041257aa76d8e75371b18c (
plain)
1
2
3
4
5
6
7
8
9
|
/* example showing how to print all the stats in a map using foreach() */
struct map_node *ptr;
foreach (mapsst, ptr)
_stp_printf ("mapsst[%09s,%09s] = %llX\n", key1str(ptr), key2str(ptr), _stp_get_stat(ptr)->sum);
|