HW_BREAKPOINT_W
*gen_type = HW_BREAKPOINT_W;
case HW_BREAKPOINT_W:
HW_BREAKPOINT_W : HW_BREAKPOINT_R;
*gen_type = HW_BREAKPOINT_W;
case HW_BREAKPOINT_W:
access = (esr & ESR_ELx_WNR) ? HW_BREAKPOINT_W :
*gen_type = HW_BREAKPOINT_W;
case HW_BREAKPOINT_W:
breakinfo[i].type = HW_BREAKPOINT_W;
attr.bp_type = HW_BREAKPOINT_W;
*gen_bp_type |= HW_BREAKPOINT_W;
if (attr->bp_type & HW_BREAKPOINT_W)
*gen_type = HW_BREAKPOINT_W;
*gen_type = HW_BREAKPOINT_W | HW_BREAKPOINT_R;
case HW_BREAKPOINT_W:
case HW_BREAKPOINT_W | HW_BREAKPOINT_R:
*gen_type = HW_BREAKPOINT_W;
*gen_type = HW_BREAKPOINT_W | HW_BREAKPOINT_R;
case HW_BREAKPOINT_W:
case HW_BREAKPOINT_W | HW_BREAKPOINT_R:
attr.bp_type = HW_BREAKPOINT_W;
case HW_BREAKPOINT_W:
if (bp->attr.bp_type & HW_BREAKPOINT_W)
bp_type |= HW_BREAKPOINT_W;
HW_BREAKPOINT_RW = HW_BREAKPOINT_R | HW_BREAKPOINT_W,
attr.bp_type = HW_BREAKPOINT_W;
HW_BREAKPOINT_RW = HW_BREAKPOINT_R | HW_BREAKPOINT_W,
attr->bp_type = is_x ? HW_BREAKPOINT_X : HW_BREAKPOINT_W;
pe.bp_type = is_x ? HW_BREAKPOINT_X : HW_BREAKPOINT_W;
(HW_BREAKPOINT_R | HW_BREAKPOINT_W) == evsel->core.attr.bp_type,
TEST_ASSERT_EVSEL("wrong bp_type", HW_BREAKPOINT_W == evsel->core.attr.bp_type, evsel);
(HW_BREAKPOINT_R | HW_BREAKPOINT_W) == evsel->core.attr.bp_type,
TEST_ASSERT_EVSEL("wrong bp_type", HW_BREAKPOINT_W == evsel->core.attr.bp_type, evsel);
(HW_BREAKPOINT_R|HW_BREAKPOINT_W) == evsel->core.attr.bp_type,
fd = __event(HW_BREAKPOINT_W, (void *)&data1, sizeof(data1));
fd = __event(HW_BREAKPOINT_R | HW_BREAKPOINT_W, (void *)&data1,
fd = __event(HW_BREAKPOINT_W, (void *)&data1, sizeof(data1));
get__perf_event_attr(&new_attr, HW_BREAKPOINT_W, (void *)&data2[0],
if (type & HW_BREAKPOINT_W)
CHECK_SET_TYPE(HW_BREAKPOINT_W);
attr->bp_type = HW_BREAKPOINT_R | HW_BREAKPOINT_W;
if (readwriteflag & HW_BREAKPOINT_W)
fd1 = perf_process_event_open(HW_BREAKPOINT_W, (__u64)&a, (__u64)sizeof(a));
fd2 = perf_process_event_open(HW_BREAKPOINT_W, (__u64)&a, (__u64)sizeof(a));
ret = perf_systemwide_event_open(fd1, HW_BREAKPOINT_W, (__u64)&a, (__u64)sizeof(a));
ret = perf_systemwide_event_open(fd1, HW_BREAKPOINT_W, (__u64)&a, (__u64)sizeof(a));