• Home
  • Raw
  • Download

Lines Matching refs:hw

1795 	if (event->hw.flags & PERF_EVENT_FLAG_USER_READ_CNT)  in list_add_event()
2017 if (event->hw.flags & PERF_EVENT_FLAG_USER_READ_CNT) in list_del_event()
2569 if (unlikely(event->hw.interrupts == MAX_INTERRUPTS)) { in event_sched_in()
2571 event->hw.interrupts = 0; in event_sched_in()
3163 if (event->addr_filters_gen != event->hw.addr_filters_gen) { in perf_event_addr_filters_sync()
3165 event->hw.addr_filters_gen = event->addr_filters_gen; in perf_event_addr_filters_sync()
4066 struct hw_perf_event *hwc = &event->hw; in perf_adjust_period()
4126 hwc = &event->hw; in perf_adjust_freq_unthr_context()
4510 event->hw.target != current) { in perf_event_read_local()
5050 if (event->hw.target) in _free_event()
5051 put_task_struct(event->hw.target); in _free_event()
5605 event->hw.sample_period = value; in __perf_event_period()
5615 if (event->hw.interrupts == MAX_INTERRUPTS) { in __perf_event_period()
5616 event->hw.interrupts = 0; in __perf_event_period()
5622 local64_set(&event->hw.period_left, 0); in __perf_event_period()
5881 if (event->hw.state & PERF_HES_STOPPED) in perf_event_index()
5955 userpg->offset -= local64_read(&event->hw.prev_count); in perf_event_update_userpage()
9289 struct hw_perf_event *hwc = &event->hw; in __perf_event_account_interrupt()
9450 struct hw_perf_event *hwc = &event->hw; in perf_swevent_set_period()
9475 struct hw_perf_event *hwc = &event->hw; in perf_swevent_overflow()
9501 struct hw_perf_event *hwc = &event->hw; in perf_swevent_event()
9515 data->period = event->hw.last_period; in perf_swevent_event()
9529 if (event->hw.state & PERF_HES_STOPPED) in perf_exclude_event()
9683 struct hw_perf_event *hwc = &event->hw; in perf_swevent_add()
9710 event->hw.state = 0; in perf_swevent_start()
9715 event->hw.state = PERF_HES_STOPPED; in perf_swevent_stop()
9889 if (event->hw.state & PERF_HES_STOPPED) in perf_tp_event_match()
10367 if (!bp->hw.state && !perf_exclude_event(bp, regs)) in perf_bp_event()
10805 event = container_of(hrtimer, struct perf_event, hw.hrtimer); in perf_swevent_hrtimer()
10812 perf_sample_data_init(&data, 0, event->hw.last_period); in perf_swevent_hrtimer()
10821 period = max_t(u64, 10000, event->hw.sample_period); in perf_swevent_hrtimer()
10829 struct hw_perf_event *hwc = &event->hw; in perf_swevent_start_hrtimer()
10850 struct hw_perf_event *hwc = &event->hw; in perf_swevent_cancel_hrtimer()
10862 struct hw_perf_event *hwc = &event->hw; in perf_swevent_init_hrtimer()
10895 prev = local64_xchg(&event->hw.prev_count, now); in cpu_clock_event_update()
10901 local64_set(&event->hw.prev_count, local_clock()); in cpu_clock_event_start()
10971 prev = local64_xchg(&event->hw.prev_count, now); in task_clock_event_update()
10978 local64_set(&event->hw.prev_count, event->ctx->time); in task_clock_event_start()
11784 event->hw.target = get_task_struct(task); in perf_event_alloc()
11821 hwc = &event->hw; in perf_event_alloc()
11932 if (event->hw.target) in perf_event_alloc()
11933 put_task_struct(event->hw.target); in perf_event_alloc()
12098 if (output_event->cpu == -1 && output_event->hw.target != event->hw.target) in perf_event_set_output()
13245 u64 sample_period = parent_event->hw.sample_period; in inherit_event()
13246 struct hw_perf_event *hwc = &child_event->hw; in inherit_event()