HW_BREAKPOINT_R
*gen_type = HW_BREAKPOINT_R;
case HW_BREAKPOINT_R:
HW_BREAKPOINT_W : HW_BREAKPOINT_R;
*gen_type = HW_BREAKPOINT_R;
case HW_BREAKPOINT_R:
HW_BREAKPOINT_R;
*gen_type = HW_BREAKPOINT_R;
case HW_BREAKPOINT_R:
breakinfo[i].type = HW_BREAKPOINT_R;
*gen_bp_type |= HW_BREAKPOINT_R;
if (attr->bp_type & HW_BREAKPOINT_R)
*gen_type = HW_BREAKPOINT_R;
*gen_type = HW_BREAKPOINT_W | HW_BREAKPOINT_R;
case HW_BREAKPOINT_R:
case HW_BREAKPOINT_W | HW_BREAKPOINT_R:
attr.bp_type = HW_BREAKPOINT_R;
*gen_type = HW_BREAKPOINT_W | HW_BREAKPOINT_R;
case HW_BREAKPOINT_W | HW_BREAKPOINT_R:
case HW_BREAKPOINT_R:
if (bp->attr.bp_type & HW_BREAKPOINT_R)
bp_type |= HW_BREAKPOINT_R;
HW_BREAKPOINT_RW = HW_BREAKPOINT_R | HW_BREAKPOINT_W,
HW_BREAKPOINT_RW = HW_BREAKPOINT_R | HW_BREAKPOINT_W,
(HW_BREAKPOINT_R | HW_BREAKPOINT_W) == evsel->core.attr.bp_type,
(HW_BREAKPOINT_R | HW_BREAKPOINT_W) == evsel->core.attr.bp_type,
TEST_ASSERT_EVSEL("wrong bp_type", HW_BREAKPOINT_R == evsel->core.attr.bp_type, evsel);
(HW_BREAKPOINT_R|HW_BREAKPOINT_W) == evsel->core.attr.bp_type,
fd = __event(HW_BREAKPOINT_R | HW_BREAKPOINT_W, (void *)&data1,
fd = __event(HW_BREAKPOINT_R, (void *)&data1, sizeof(data1));
if (type & HW_BREAKPOINT_R)
CHECK_SET_TYPE(HW_BREAKPOINT_R);
attr->bp_type = HW_BREAKPOINT_R | HW_BREAKPOINT_W;
fd = perf_process_event_open(HW_BREAKPOINT_R, (__u64)(&fd) & 0xfffffffffffff800, len);
if (readwriteflag & HW_BREAKPOINT_R)
fd2 = perf_process_event_open(HW_BREAKPOINT_R, (__u64)&b, (__u64)sizeof(b));
fd1 = perf_process_event_open(HW_BREAKPOINT_R, (__u64)&a, (__u64)sizeof(a));
ret = perf_systemwide_event_open(fd2, HW_BREAKPOINT_R, (__u64)&b, (__u64)sizeof(b));
ret = perf_systemwide_event_open(fd2, HW_BREAKPOINT_R, (__u64)&a, (__u64)sizeof(a));
attr->bp_type = HW_BREAKPOINT_R;