Print this page
16446 dtrace consumers should not be isaexec'd
Change-Id: Ibf80c7283c421cba98e80dce272c6dd51d24bb87

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/latencytop/common/stat.c
          +++ new/usr/src/cmd/latencytop/stat.c
↓ open down ↓ 261 lines elided ↑ open up ↑
 262  262                      (GHFunc)clear_stat, NULL);
 263  263          }
 264  264  }
 265  265  
 266  266  /*
 267  267   * Update a collection with the given value.
 268  268   * Recursively update parents in the hierarchy  until the root is reached.
 269  269   */
 270  270  static void
 271  271  update_stat_entry(lt_stat_collection_t *stat, int cause_id,
 272      -                lt_stat_type_t type, uint64_t value,
 273      -                const char *string, int group_to_use)
      272 +    lt_stat_type_t type, uint64_t value,
      273 +    const char *string, int group_to_use)
 274  274  {
 275  275          lt_stat_entry_t *entry = NULL;
 276  276          lt_datagroup_t *group;
 277  277  
 278  278          if (group_to_use < 0 || group_to_use >= NGROUPS) {
 279  279                  return;
 280  280          }
 281  281  
 282  282          group = &(stat->lt_sc_groups[group_to_use]);
 283  283  
↓ open down ↓ 767 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX