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/latencytop.c
          +++ new/usr/src/cmd/latencytop/latencytop.c
↓ open down ↓ 55 lines elided ↑ open up ↑
  56   56          LT_CMDOPT_SELECT,
  57   57          LT_CMDOPT__LAST /* Must be the last one */
  58   58  } lt_cmd_option_id_t;
  59   59  
  60   60  /*
  61   61   * Check for duplicate command line options.
  62   62   * Returns TRUE if duplicate options with different values are found,
  63   63   * returns FALSE otherwise.
  64   64   */
  65   65  static int
  66      -check_opt_dup(lt_cmd_option_id_t id, uint64_t value) {
       66 +check_opt_dup(lt_cmd_option_id_t id, uint64_t value)
       67 +{
  67   68  
  68   69          static int opt_set[(int)LT_CMDOPT__LAST];
  69   70          static uint64_t opt_val[(int)LT_CMDOPT__LAST];
  70   71  
  71   72          const char *errmsg[] = {
  72   73                  "-t is set more than once with different values.",
  73   74                  "-o is set more than once.",
  74   75                  "-k is set more than once with different values.",
  75   76                  "-l is set more than once with different values.",
  76   77                  "-c is set more than once.",
↓ open down ↓ 493 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX