Print this page
10951 10895 unfixed 10146

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/pcbe/core_pcbe.c
          +++ new/usr/src/uts/intel/pcbe/core_pcbe.c
↓ open down ↓ 986 lines elided ↑ open up ↑
 987  987          /* Is it an event that a GPC can track? */
 988  988          if (versionid >= 3) {
 989  989                  n = find_gpcevent(event);
 990  990                  if (n != NULL) {
 991  991                          bitmap |= (n->supported_counters &
 992  992                              BITMASK_XBITS(num_gpc));
 993  993                  }
 994  994          } else {
 995  995                  if (find_generic_events(event, cmn_generic_events) != NULL) {
 996  996                          bitmap |= BITMASK_XBITS(num_gpc);
 997      -                } if (find_generic_events(event, generic_events_pic0) != NULL) {
      997 +                } else if (find_generic_events(event,
      998 +                    generic_events_pic0) != NULL) {
 998  999                          bitmap |= 1ULL;
 999 1000                  } else if (find_gpcevent_core_uarch(event,
1000 1001                      cmn_gpc_events_core_uarch) != NULL) {
1001 1002                          bitmap |= BITMASK_XBITS(num_gpc);
1002 1003                  } else if (find_gpcevent_core_uarch(event, pic0_events) !=
1003 1004                      NULL) {
1004 1005                          bitmap |= 1ULL;
1005 1006                  } else if (find_gpcevent_core_uarch(event, pic1_events) !=
1006 1007                      NULL) {
1007 1008                          bitmap |= 1ULL << 1;
↓ open down ↓ 517 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX