Home
last modified time | relevance | path

Searched refs:event (Results 1 – 25 of 2223) sorted by relevance

12345678910>>...89

/linux/kernel/events/
A Dcore.c265 .event = event, in event_function_call()
1407 event = event->parent; in perf_event_pid_type()
3089 .event = event, in perf_event_stop()
4517 .event = event, in perf_event_read()
4982 event->destroy(event); in _free_event()
6425 event = event->parent; in perf_event_fasync()
7710 .event = event, in __perf_event_output_stop()
9078 event = event->parent; in perf_log_itrace_start()
9113 event = event->parent; in perf_report_aux_output_id()
9676 event = event->parent; in perf_tp_filter_match()
[all …]
/linux/net/sctp/
A Dulpevent.c61 return event; in sctp_ulpevent_new()
88 atomic_add(event->rmem_len, &event->asoc->rmem_alloc); in sctp_ulpevent_set_owner()
150 if (!event) in sctp_ulpevent_make_assoc_change()
252 if (!event) in sctp_ulpevent_make_peer_addr_change()
354 if (event) in sctp_ulpevent_notify_peer_addr_change()
587 if (!event) in sctp_ulpevent_make_shutdown_event()
649 if (!event) in sctp_ulpevent_make_adaptation_indication()
782 if (!event) in sctp_ulpevent_make_pdapi()
835 if (!event) in sctp_ulpevent_make_authkey()
873 if (!event) in sctp_ulpevent_make_sender_dry_event()
[all …]
A Dstream_interleave.c356 return event; in sctp_intl_reasm()
466 return event; in sctp_intl_order()
833 if (!event) in sctp_ulpevent_idata()
843 event = sctp_intl_reasm(ulpq, event); in sctp_ulpevent_idata()
844 if (event) { in sctp_ulpevent_idata()
849 event = sctp_intl_order(ulpq, event); in sctp_ulpevent_idata()
852 event = sctp_intl_reasm_uo(ulpq, event); in sctp_ulpevent_idata()
853 if (event) { in sctp_ulpevent_idata()
859 if (event) { in sctp_ulpevent_idata()
1036 if (!event) in sctp_intl_reap_ordered()
[all …]
/linux/tools/testing/selftests/powerpc/pmu/ebb/
A Devent_attributes_test.c17 struct event event, leader; in event_attributes() local
21 event_init(&event, 0x1001e); in event_attributes()
24 FAIL_IF(event_open(&event)); in event_attributes()
25 event_close(&event); in event_attributes()
34 event_init(&event, 0x2001e); in event_attributes()
36 event.attr.exclusive = 0; in event_attributes()
43 event.attr.freq = 1; in event_attributes()
64 event.attr.inherit = 1; in event_attributes()
74 event_ebb_init(&event); in event_attributes()
79 event_close(&event); in event_attributes()
[all …]
A Dinstruction_count_test.c25 static int do_count_loop(struct event *event, uint64_t instructions, in do_count_loop() argument
70 static uint64_t determine_overhead(struct event *event) in determine_overhead() argument
76 overhead = event->result.value; in determine_overhead()
80 current = event->result.value; in determine_overhead()
111 struct event event; in instruction_count() local
117 event_leader_ebb_init(&event); in instruction_count()
118 event.attr.exclude_kernel = 1; in instruction_count()
119 event.attr.exclude_hv = 1; in instruction_count()
120 event.attr.exclude_idle = 1; in instruction_count()
122 FAIL_IF(event_open(&event)); in instruction_count()
[all …]
/linux/arch/powerpc/perf/
A Dcore-fsl-emb.c268 ctrs[n] = event; in collect_events()
305 cpuhw->event[i] = event; in fsl_emb_pmu_add()
350 WARN_ON(event != cpuhw->event[event->hw.idx]); in fsl_emb_pmu_del()
380 if (event->hw.idx < 0 || !event->hw.sample_period) in fsl_emb_pmu_start()
408 if (event->hw.idx < 0 || !event->hw.sample_period) in fsl_emb_pmu_stop()
516 if (event->group_leader != event) { in fsl_emb_pmu_event_init()
546 event->hw.last_period = event->hw.sample_period; in fsl_emb_pmu_event_init()
547 local64_set(&event->hw.period_left, event->hw.last_period); in fsl_emb_pmu_event_init()
618 event->hw.last_period = event->hw.sample_period; in record_and_restart()
651 event = cpuhw->event[i]; in perf_event_interrupt()
[all …]
A Dcore-book3s.c1418 event = cpuhw->event[0]; in power_pmu_enable()
1448 event = cpuhw->event[i]; in power_pmu_enable()
1461 event = cpuhw->event[i]; in power_pmu_enable()
1569 cpuhw->event[n0] = event; in power_pmu_add()
1640 if (event == cpuhw->event[i]) { in power_pmu_del()
1642 cpuhw->event[i-1] = cpuhw->event[i]; in power_pmu_del()
1689 if (!event->hw.idx || !event->hw.sample_period) in power_pmu_start()
1719 if (!event->hw.idx || !event->hw.sample_period) in power_pmu_stop()
2038 if (event->group_leader != event) { in power_pmu_event_init()
2333 event = cpuhw->event[j]; in __perf_event_interrupt()
[all …]
A Disa207-common.c48 event &= 0xff0fe; in event_is_fab_match()
51 return (event == 0x30056 || event == 0x4f052); in event_is_fab_match()
63 return !(event & ~valid_mask); in is_event_valid()
68 if (event & EVENT_IS_MARKED) in is_event_marked()
77 return p10_SDAR_MODE(event); in sdar_mod_val()
79 return p9_SDAR_MODE(event); in sdar_mod_val()
169 return EVENT_COMBINE(event); in combine_from_event()
378 if (!is_event_valid(event)) in isa207_get_constraint()
477 if (event_is_threshold(event) && is_thresh_cmp_valid(event)) { in isa207_get_constraint()
709 if (event < ev_alt[i][0]) in find_alternative()
[all …]
/linux/tools/perf/util/
A Dsession.c579 event->comm.pid = bswap_32(event->comm.pid); in perf_event__comm_swap()
580 event->comm.tid = bswap_32(event->comm.tid); in perf_event__comm_swap()
593 event->mmap.pid = bswap_32(event->mmap.pid); in perf_event__mmap_swap()
594 event->mmap.tid = bswap_32(event->mmap.tid); in perf_event__mmap_swap()
596 event->mmap.len = bswap_64(event->mmap.len); in perf_event__mmap_swap()
632 event->fork.pid = bswap_32(event->fork.pid); in perf_event__task_swap()
633 event->fork.tid = bswap_32(event->fork.tid); in perf_event__task_swap()
639 swap_sample_id_all(event, &event->fork + 1); in perf_event__task_swap()
649 event->read.id = bswap_64(event->read.id); in perf_event__read_swap()
652 swap_sample_id_all(event, &event->read + 1); in perf_event__read_swap()
[all …]
A Devent.c157 return fprintf(fp, "%s: %s:%d/%d\n", s, event->comm.comm, event->comm.pid, event->comm.tid); in perf_event__fprintf_comm()
190 event->cgroup.id, event->cgroup.path); in perf_event__fprintf_cgroup()
292 event->mmap.pid, event->mmap.tid, event->mmap.start, in perf_event__fprintf_mmap()
293 event->mmap.len, event->mmap.pgoff, in perf_event__fprintf_mmap()
310 event->mmap2.pid, event->mmap2.tid, event->mmap2.start, in perf_event__fprintf_mmap2()
320 event->mmap2.pid, event->mmap2.tid, event->mmap2.start, in perf_event__fprintf_mmap2()
321 event->mmap2.len, event->mmap2.pgoff, event->mmap2.maj, in perf_event__fprintf_mmap2()
322 event->mmap2.min, event->mmap2.ino, in perf_event__fprintf_mmap2()
383 event->fork.pid, event->fork.tid, in perf_event__fprintf_task()
384 event->fork.ppid, event->fork.ptid); in perf_event__fprintf_task()
[all …]
A Dsynthetic-events.c161 memset(&event->comm, 0, sizeof(event->comm)); in perf_event__prepare_comm()
182 event->comm.header.size = (sizeof(event->comm) - in perf_event__prepare_comm()
489 event->mmap2.len -= event->mmap.start; in perf_event__synthesize_mmap_events()
490 event->mmap2.header.size = (sizeof(event->mmap2) - in perf_event__synthesize_mmap_events()
646 sizeof(event->mmap2) : sizeof(event->mmap); in perf_event__synthesize_modules()
686 event->mmap.header.size = (sizeof(event->mmap) - in perf_event__synthesize_modules()
1071 sizeof(event->mmap2) : sizeof(event->mmap); in __perf_event__synthesize_kernel_mmap()
1123 event->mmap.header.size = (sizeof(event->mmap) - in __perf_event__synthesize_kernel_mmap()
1127 event->mmap.len = map->end - event->mmap.start; in __perf_event__synthesize_kernel_mmap()
1365 event.header.size = sizeof(event); in perf_event__synthesize_stat()
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/core/
A Devent.c31 if (--event->refs[index * event->types_nr + type] == 0) { in nvkm_event_put()
32 if (event->func->fini) in nvkm_event_put()
33 event->func->fini(event, 1 << type, index); in nvkm_event_put()
44 if (++event->refs[index * event->types_nr + type] == 1) { in nvkm_event_get()
46 event->func->init(event, 1 << type, index); in nvkm_event_get()
58 if (!event->refs || WARN_ON(index >= event->index_nr)) in nvkm_event_send()
77 if (event->refs) { in nvkm_event_fini()
78 kfree(event->refs); in nvkm_event_fini()
79 event->refs = NULL; in nvkm_event_fini()
90 if (!event->refs) in nvkm_event_init()
[all …]
A Dnotify.c37 struct nvkm_event *event = notify->event; in nvkm_notify_put() local
39 if (likely(event) && in nvkm_notify_put()
59 struct nvkm_event *event = notify->event; in nvkm_notify_get() local
61 if (likely(event) && in nvkm_notify_get()
72 struct nvkm_event *event = notify->event; in nvkm_notify_func() local
93 struct nvkm_event *event = notify->event; in nvkm_notify_send() local
96 assert_spin_locked(&event->list_lock); in nvkm_notify_send()
121 if (notify->event) { in nvkm_notify_fini()
127 notify->event = NULL; in nvkm_notify_fini()
139 if ((notify->event = event), event->refs) { in nvkm_notify_init()
[all …]
/linux/fs/notify/fanotify/
A Dfanotify.h167 fsnotify_init_event(&event->fse); in fanotify_init_event()
169 event->hash = hash; in fanotify_init_event()
170 event->mask = mask; in fanotify_init_event()
171 event->pid = NULL; in fanotify_init_event()
225 return &FANOTIFY_FE(event)->fsid; in fanotify_event_fsid()
227 return &FANOTIFY_NE(event)->fsid; in fanotify_event_fsid()
229 return &FANOTIFY_EE(event)->fsid; in fanotify_event_fsid()
235 struct fanotify_event *event) in fanotify_event_object_fh() argument
248 struct fanotify_event *event) in fanotify_event_info() argument
251 return &FANOTIFY_NE(event)->info; in fanotify_event_info()
[all …]
/linux/drivers/md/
A Ddm-uevent.c49 if (!event) in dm_uevent_alloc()
53 event->md = md; in dm_uevent_alloc()
55 return event; in dm_uevent_alloc()
68 if (!event) { in dm_build_path_uevent()
106 return event; in dm_build_path_uevent()
133 if (dm_copy_name_and_uuid(event->md, event->name, in dm_send_uevents()
134 event->uuid)) { in dm_send_uevents()
140 if (add_uevent_var(&event->ku_env, "DM_NAME=%s", event->name)) { in dm_send_uevents()
146 if (add_uevent_var(&event->ku_env, "DM_UUID=%s", event->uuid)) { in dm_send_uevents()
152 r = kobject_uevent_env(kobj, event->action, event->ku_env.envp); in dm_send_uevents()
[all …]
/linux/drivers/firmware/
A Darm_sdei.c82 arg.event = event; \
206 event = kzalloc(sizeof(*event), GFP_KERNEL); in sdei_event_create()
207 if (!event) { in sdei_event_create()
225 event->type = result; in sdei_event_create()
266 return event; in sdei_event_create()
269 kfree(event); in sdei_event_create()
285 kfree(event); in sdei_event_destroy_llocked()
406 if (!event) { in sdei_event_enable()
452 if (!event) { in sdei_event_disable()
498 if (!event) { in sdei_event_unregister()
[all …]
/linux/Documentation/ABI/testing/
A Dsysfs-bus-event_source-devices-dfl_fme13 event = "config:0-11" - event ID
14 evtype = "config:12-15" - event type
15 portid = "config:16-23" - event source
19 fab_mmio_read = "event=0x06,evtype=0x02,portid=0xff"
21 It shows this fab_mmio_read is a fabric type (0x02) event with
22 0x06 local event id for overall monitoring (portid=0xff).
38 The name of the file is the name of the event.
45 clock = "event=0x00,evtype=0x00,portid=0xff"
72 fab_port_pcie0_read = "event=0x00,evtype=0x02,portid=?"
73 fab_port_pcie0_write = "event=0x01,evtype=0x02,portid=?"
[all …]
/linux/drivers/perf/hisilicon/
A Dhisi_uncore_pmu.c78 if (leader->pmu != event->pmu) in hisi_validate_event_group()
82 if (leader != event) in hisi_validate_event_group()
89 if (sibling->pmu != event->pmu) in hisi_validate_event_group()
134 struct perf_event *event; in hisi_uncore_pmu_isr() local
151 if (!event) in hisi_uncore_pmu_isr()
190 if (event->attr.type != event->pmu->type) in hisi_uncore_pmu_event_init()
198 if (is_sampling_event(event) || event->attach_state & PERF_ATTACH_TASK) in hisi_uncore_pmu_event_init()
205 if (event->cpu < 0) in hisi_uncore_pmu_event_init()
230 event->cpu = hisi_pmu->on_cpu; in hisi_uncore_pmu_event_init()
246 HISI_GET_EVENTID(event)); in hisi_uncore_pmu_enable_event()
[all …]
/linux/scripts/dtc/
A Dyamltree.c26 if (!yaml_emitter_emit(emitter, event)) \
35 yaml_event_t event; in yaml_propval_int() local
51 yaml_emitter_emit_or_die(emitter, &event); in yaml_propval_int()
93 yaml_emitter_emit_or_die(emitter, &event); in yaml_propval_int()
98 yaml_event_t event; in yaml_propval_string() local
107 yaml_scalar_event_initialize(&event, NULL, in yaml_propval_string()
110 yaml_emitter_emit_or_die(emitter, &event); in yaml_propval_string()
115 yaml_event_t event; in yaml_propval() local
121 yaml_scalar_event_initialize(&event, NULL, in yaml_propval()
182 yaml_event_t event; in yaml_tree() local
[all …]
/linux/drivers/perf/
A Dqcom_l3_pmu.c196 int idx = event->hw.idx; in qcom_l3_cache__64bit_counter_start()
228 int idx = event->hw.idx; in qcom_l3_cache__64bit_counter_stop()
242 int idx = event->hw.idx; in qcom_l3_cache__64bit_counter_update()
277 int idx = event->hw.idx; in qcom_l3_cache__32bit_counter_start()
406 if (!event) in qcom_l3_cache__handle_irq()
416 ops->update(event); in qcom_l3_cache__handle_irq()
486 if (event->attr.type != event->pmu->type) in qcom_l3_cache__event_init()
499 if (event->cpu < 0) in qcom_l3_cache__event_init()
530 ops->start(event); in qcom_l3_cache__event_start()
543 ops->update(event); in qcom_l3_cache__event_stop()
[all …]
A Darm_pmu.c278 armpmu->disable(event); in armpmu_stop()
305 armpmu->enable(event); in armpmu_start()
345 event->hw.idx = idx; in armpmu_add()
346 armpmu->disable(event); in armpmu_add()
373 if (event->pmu != pmu) in validate_event()
379 if (event->state == PERF_EVENT_STATE_OFF && !event->attr.enable_on_exec) in validate_event()
406 if (!validate_event(event->pmu, &fake_pmu, event)) in validate_group()
448 event->attr.config); in __hw_perf_event_init()
490 if (event->group_leader != event) { in __hw_perf_event_init()
509 if (event->cpu != -1 && in armpmu_event_init()
[all …]
A Darm_dmc620_pmu.c212 GEN_PMU_FORMAT_ATTR(event);
348 struct perf_event *event; in dmc620_pmu_handle_irq() local
358 if (!event) in dmc620_pmu_handle_irq()
370 if (WARN_ON_ONCE(!event)) in dmc620_pmu_handle_irq()
386 if (!event) in dmc620_pmu_handle_irq()
489 if (event->attr.type != event->pmu->type) in dmc620_pmu_event_init()
496 if (is_sampling_event(event) || in dmc620_pmu_event_init()
513 if (event->cpu < 0) in dmc620_pmu_event_init()
520 if (event->group_leader != event && in dmc620_pmu_event_init()
525 if (sibling != event && in dmc620_pmu_event_init()
[all …]
A Darm_dsu_pmu.c253 int idx = event->hw.idx; in dsu_pmu_read_counter()
279 int idx = event->hw.idx; in dsu_pmu_write_counter()
335 int idx = event->hw.idx; in dsu_pmu_set_event()
405 if (!event) in dsu_pmu_handle_irq()
425 event->hw.state = 0; in dsu_pmu_start()
516 if (event->pmu != pmu) in dsu_pmu_validate_event()
530 if (event->group_leader == event) in dsu_pmu_validate_group()
540 return dsu_pmu_validate_event(event->pmu, &fake_hw, event); in dsu_pmu_validate_group()
547 if (event->attr.type != event->pmu->type) in dsu_pmu_event_init()
557 if (event->cpu < 0 || event->attach_state & PERF_ATTACH_TASK) { in dsu_pmu_event_init()
[all …]
/linux/arch/powerpc/kernel/
A Deeh_event.c50 event = NULL; in eeh_event_handler()
57 if (!event) in eeh_event_handler()
61 if (event->pe) in eeh_event_handler()
66 kfree(event); in eeh_event_handler()
107 event = kzalloc(sizeof(*event), GFP_ATOMIC); in __eeh_send_failure_event()
108 if (!event) { in __eeh_send_failure_event()
112 event->pe = pe; in __eeh_send_failure_event()
189 kfree(event); in eeh_remove_event()
191 if (event->pe && event->pe->phb == pe->phb) { in eeh_remove_event()
193 kfree(event); in eeh_remove_event()
[all …]
/linux/arch/sh/kernel/
A Dperf_event.c196 local64_add(delta, &event->count); in sh_perf_event_update()
212 sh_perf_event_update(event, &event->hw, idx); in sh_pmu_stop()
229 cpuc->events[idx] = event; in sh_pmu_start()
230 event->hw.state = 0; in sh_pmu_start()
251 perf_pmu_disable(event->pmu); in sh_pmu_add()
271 perf_pmu_enable(event->pmu); in sh_pmu_add()
277 sh_perf_event_update(event, &event->hw, event->hw.idx); in sh_pmu_read()
285 if (has_branch_stack(event)) in sh_pmu_event_init()
288 switch (event->attr.type) { in sh_pmu_event_init()
300 if (event->destroy) in sh_pmu_event_init()
[all …]

Completed in 124 milliseconds

12345678910>>...89