Home
last modified time | relevance | path

Searched refs:event (Results 351 - 375 of 6921) sorted by relevance

1...<<11121314151617181920>>...277

/kernel/linux/linux-5.10/net/sctp/
H A Dulpqueue.c60 struct sctp_ulpevent *event; in sctp_ulpq_flush() local
63 event = sctp_skb2event(skb); in sctp_ulpq_flush()
64 sctp_ulpevent_free(event); in sctp_ulpq_flush()
68 event = sctp_skb2event(skb); in sctp_ulpq_flush()
69 sctp_ulpevent_free(event); in sctp_ulpq_flush()
73 event = sctp_skb2event(skb); in sctp_ulpq_flush()
74 sctp_ulpevent_free(event); in sctp_ulpq_flush()
89 struct sctp_ulpevent *event; in sctp_ulpq_tail_data() local
92 /* Create an event from the incoming chunk. */ in sctp_ulpq_tail_data()
93 event in sctp_ulpq_tail_data()
149 struct sctp_ulpevent *event; sctp_clear_pd() local
186 struct sctp_ulpevent *event; sctp_ulpq_tail_event() local
273 sctp_ulpq_store_reasm(struct sctp_ulpq *ulpq, struct sctp_ulpevent *event) sctp_ulpq_store_reasm() argument
325 struct sctp_ulpevent *event; sctp_make_reassembled_event() local
577 sctp_ulpq_reasm(struct sctp_ulpq *ulpq, struct sctp_ulpevent *event) sctp_ulpq_reasm() argument
688 struct sctp_ulpevent *event; sctp_ulpq_reasm_flushtsn() local
718 struct sctp_ulpevent *event = NULL; sctp_ulpq_reasm_drain() local
745 sctp_ulpq_retrieve_ordered(struct sctp_ulpq *ulpq, struct sctp_ulpevent *event) sctp_ulpq_retrieve_ordered() argument
787 sctp_ulpq_store_ordered(struct sctp_ulpq *ulpq, struct sctp_ulpevent *event) sctp_ulpq_store_ordered() argument
836 sctp_ulpq_order(struct sctp_ulpq *ulpq, struct sctp_ulpevent *event) sctp_ulpq_order() argument
878 struct sctp_ulpevent *event; sctp_ulpq_reap_ordered() local
970 struct sctp_ulpevent *event; sctp_ulpq_renege_list() local
1028 struct sctp_ulpevent *event; sctp_ulpq_partial_delivery() local
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dsynthetic-events.c5 #include "util/event.h"
51 union perf_event *event, in perf_tool__process_synth_event()
62 .cpumode = event->header.misc & PERF_RECORD_MISC_CPUMODE_MASK, in perf_tool__process_synth_event()
65 return process(tool, event, &synth_sample, machine); in perf_tool__process_synth_event()
139 static int perf_event__prepare_comm(union perf_event *event, pid_t pid, in perf_event__prepare_comm() argument
147 memset(&event->comm, 0, sizeof(event->comm)); in perf_event__prepare_comm()
150 if (perf_event__get_comm_ids(pid, event->comm.comm, in perf_event__prepare_comm()
151 sizeof(event->comm.comm), in perf_event__prepare_comm()
162 event in perf_event__prepare_comm()
50 perf_tool__process_synth_event(struct perf_tool *tool, union perf_event *event, struct machine *machine, perf_event__handler_t process) perf_tool__process_synth_event() argument
176 perf_event__synthesize_comm(struct perf_tool *tool, union perf_event *event, pid_t pid, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_comm() argument
205 perf_event__synthesize_namespaces(struct perf_tool *tool, union perf_event *event, pid_t pid, pid_t tgid, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_namespaces() argument
244 perf_event__synthesize_fork(struct perf_tool *tool, union perf_event *event, pid_t pid, pid_t tgid, pid_t ppid, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_fork() argument
350 perf_event__synthesize_mmap_events(struct perf_tool *tool, union perf_event *event, pid_t pid, pid_t tgid, perf_event__handler_t process, struct machine *machine, bool mmap_data) perf_event__synthesize_mmap_events() argument
471 perf_event__synthesize_cgroup(struct perf_tool *tool, union perf_event *event, char *path, size_t mount_len, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_cgroup() argument
511 perf_event__walk_cgroup_tree(struct perf_tool *tool, union perf_event *event, char *path, size_t mount_len, perf_event__handler_t process, struct machine *machine) perf_event__walk_cgroup_tree() argument
563 union perf_event event; perf_event__synthesize_cgroups() local
600 union perf_event *event = zalloc((sizeof(event->mmap) + perf_event__synthesize_modules() local
999 union perf_event *event; __perf_event__synthesize_kernel_mmap() local
1065 union perf_event *event; perf_event__synthesize_thread_map2() local
1194 struct perf_record_cpu_map *event; cpu_map_event__new() local
1215 struct perf_record_cpu_map *event; perf_event__synthesize_cpu_map() local
1233 struct perf_record_stat_config *event; perf_event__synthesize_stat_config() local
1272 struct perf_record_stat event; perf_event__synthesize_stat() local
1293 struct perf_record_stat_round event; perf_event__synthesize_stat_round() local
1421 perf_event__synthesize_sample(union perf_event *event, u64 type, u64 read_format, const struct perf_sample *sample) perf_event__synthesize_sample() argument
[all...]
/kernel/linux/linux-6.6/fs/notify/fanotify/
H A Dfanotify.h13 /* Possible states of the permission event */
237 * userspace. The type of event determines how it was allocated, how it will
266 static inline void fanotify_init_event(struct fanotify_event *event, in fanotify_init_event() argument
269 fsnotify_init_event(&event->fse); in fanotify_init_event()
270 INIT_HLIST_NODE(&event->merge_list); in fanotify_init_event()
271 event->hash = hash; in fanotify_init_event()
272 event->mask = mask; in fanotify_init_event()
273 event->pid = NULL; in fanotify_init_event()
291 FANOTIFY_FE(struct fanotify_event *event) in FANOTIFY_FE() argument
293 return container_of(event, struc in FANOTIFY_FE()
303 FANOTIFY_NE(struct fanotify_event *event) FANOTIFY_NE() argument
319 FANOTIFY_EE(struct fanotify_event *event) FANOTIFY_EE() argument
324 fanotify_event_fsid(struct fanotify_event *event) fanotify_event_fsid() argument
336 fanotify_event_object_fh( struct fanotify_event *event) fanotify_event_object_fh() argument
349 fanotify_event_info( struct fanotify_event *event) fanotify_event_info() argument
358 fanotify_event_object_fh_len(struct fanotify_event *event) fanotify_event_object_fh_len() argument
369 fanotify_event_dir_fh_len(struct fanotify_event *event) fanotify_event_dir_fh_len() argument
376 fanotify_event_dir2_fh_len(struct fanotify_event *event) fanotify_event_dir2_fh_len() argument
383 fanotify_event_has_object_fh(struct fanotify_event *event) fanotify_event_has_object_fh() argument
391 fanotify_event_has_dir_fh(struct fanotify_event *event) fanotify_event_has_dir_fh() argument
396 fanotify_event_has_dir2_fh(struct fanotify_event *event) fanotify_event_has_dir2_fh() argument
401 fanotify_event_has_any_dir_fh(struct fanotify_event *event) fanotify_event_has_any_dir_fh() argument
413 FANOTIFY_PE(struct fanotify_event *event) FANOTIFY_PE() argument
438 FANOTIFY_PERM(struct fanotify_event *event) FANOTIFY_PERM() argument
459 fanotify_event_path(struct fanotify_event *event) fanotify_event_path() argument
485 fanotify_event_hash_bucket( struct fsnotify_group *group, struct fanotify_event *event) fanotify_event_hash_bucket() argument
[all...]
/kernel/linux/linux-6.6/net/sctp/
H A Dulpqueue.c57 struct sctp_ulpevent *event; in sctp_ulpq_flush() local
60 event = sctp_skb2event(skb); in sctp_ulpq_flush()
61 sctp_ulpevent_free(event); in sctp_ulpq_flush()
65 event = sctp_skb2event(skb); in sctp_ulpq_flush()
66 sctp_ulpevent_free(event); in sctp_ulpq_flush()
70 event = sctp_skb2event(skb); in sctp_ulpq_flush()
71 sctp_ulpevent_free(event); in sctp_ulpq_flush()
86 struct sctp_ulpevent *event; in sctp_ulpq_tail_data() local
89 /* Create an event from the incoming chunk. */ in sctp_ulpq_tail_data()
90 event in sctp_ulpq_tail_data()
146 struct sctp_ulpevent *event; sctp_clear_pd() local
183 struct sctp_ulpevent *event; sctp_ulpq_tail_event() local
267 sctp_ulpq_store_reasm(struct sctp_ulpq *ulpq, struct sctp_ulpevent *event) sctp_ulpq_store_reasm() argument
319 struct sctp_ulpevent *event; sctp_make_reassembled_event() local
571 sctp_ulpq_reasm(struct sctp_ulpq *ulpq, struct sctp_ulpevent *event) sctp_ulpq_reasm() argument
682 struct sctp_ulpevent *event; sctp_ulpq_reasm_flushtsn() local
712 struct sctp_ulpevent *event = NULL; sctp_ulpq_reasm_drain() local
739 sctp_ulpq_retrieve_ordered(struct sctp_ulpq *ulpq, struct sctp_ulpevent *event) sctp_ulpq_retrieve_ordered() argument
781 sctp_ulpq_store_ordered(struct sctp_ulpq *ulpq, struct sctp_ulpevent *event) sctp_ulpq_store_ordered() argument
830 sctp_ulpq_order(struct sctp_ulpq *ulpq, struct sctp_ulpevent *event) sctp_ulpq_order() argument
872 struct sctp_ulpevent *event; sctp_ulpq_reap_ordered() local
964 struct sctp_ulpevent *event; sctp_ulpq_renege_list() local
1022 struct sctp_ulpevent *event; sctp_ulpq_partial_delivery() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/pmu/
H A Devent.h15 struct event { struct
27 void event_init(struct event *e, u64 config);
28 void event_init_named(struct event *e, u64 config, char *name);
29 void event_init_opts(struct event *e, u64 config, int type, char *name);
30 int event_open_with_options(struct event *e, pid_t pid, int cpu, int group_fd);
31 int event_open_with_group(struct event *e, int group_fd);
32 int event_open_with_pid(struct event *e, pid_t pid);
33 int event_open_with_cpu(struct event *e, int cpu);
34 int event_open(struct event *e);
35 void event_close(struct event *
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/sampling_tests/
H A Dmmcra_thresh_cmp_test.c9 #include "../event.h"
14 * Primary PMU event used here is PM_MRK_INST_CMPL (0x401e0)
15 * Threshold event selection used is issue to complete for cycles
26 struct event event; in mmcra_thresh_cmp() local
36 /* Init the event for the sampling test */ in mmcra_thresh_cmp()
38 event_init_sampling(&event, p9_EventCode); in mmcra_thresh_cmp()
40 event_init_sampling(&event, p10_EventCode); in mmcra_thresh_cmp()
41 event.attr.config1 = 1000; in mmcra_thresh_cmp()
44 event in mmcra_thresh_cmp()
[all...]
H A Dmmcr1_sel_unit_cache_test.c9 #include "../event.h"
24 struct event event; in mmcr1_sel_unit_cache() local
35 /* Init the event for the sampling test */ in mmcr1_sel_unit_cache()
36 event_init_sampling(&event, EventCode); in mmcr1_sel_unit_cache()
37 event.attr.sample_regs_intr = platform_extended_mask; in mmcr1_sel_unit_cache()
38 event.attr.sample_period = 1; in mmcr1_sel_unit_cache()
39 FAIL_IF(event_open(&event)); in mmcr1_sel_unit_cache()
40 event.mmap_buffer = event_sample_buf_mmap(event in mmcr1_sel_unit_cache()
[all...]
/kernel/linux/linux-5.10/drivers/staging/hisysevent/
H A Dhiview_hisysevent.c41 struct hiview_hisysevent *event; in hisysevent_create() local
43 event = kzalloc(sizeof(*event), GFP_KERNEL); in hisysevent_create()
44 if (!event) in hisysevent_create()
47 event->builder = hisysevent_builder_create(domain, name, type); in hisysevent_create()
48 if (!event->builder) in hisysevent_create()
50 return event; in hisysevent_create()
53 hisysevent_destroy(&event); in hisysevent_create()
58 void hisysevent_destroy(struct hiview_hisysevent **event) in hisysevent_destroy() argument
60 if (!event || !*even in hisysevent_destroy()
72 hisysevent_put_integer(struct hiview_hisysevent *event, const char *key, long long value) hisysevent_put_integer() argument
82 hisysevent_put_string(struct hiview_hisysevent *event, const char *key, const char *value) hisysevent_put_string() argument
92 hisysevent_write(struct hiview_hisysevent *event) hisysevent_write() argument
[all...]
/kernel/linux/linux-6.6/fs/notify/
H A Dnotification.c9 * the event happened. When inotify gets an event it will need to add that
10 * event to the group notify queue. Since a single event might need to be on
11 * multiple group's notification queues we can't add the event directly to each
13 * has a pointer back to the original event. Since the majority of events are
15 * event_holder into each event. This means we have a single allocation instead
51 struct fsnotify_event *event) in fsnotify_destroy_event()
54 if (!event || event in fsnotify_destroy_event()
50 fsnotify_destroy_event(struct fsnotify_group *group, struct fsnotify_event *event) fsnotify_destroy_event() argument
81 fsnotify_insert_event(struct fsnotify_group *group, struct fsnotify_event *event, int (*merge)(struct fsnotify_group *, struct fsnotify_event *), void (*insert)(struct fsnotify_group *, struct fsnotify_event *)) fsnotify_insert_event() argument
132 fsnotify_remove_queued_event(struct fsnotify_group *group, struct fsnotify_event *event) fsnotify_remove_queued_event() argument
165 struct fsnotify_event *event = fsnotify_peek_first_event(group); fsnotify_remove_first_event() local
183 struct fsnotify_event *event; fsnotify_flush_notify() local
[all...]
/kernel/linux/linux-6.6/drivers/staging/hisysevent/
H A Dhiview_hisysevent.c42 struct hiview_hisysevent *event; in hisysevent_create() local
44 event = kzalloc(sizeof(*event), GFP_KERNEL); in hisysevent_create()
45 if (!event) in hisysevent_create()
48 event->builder = hisysevent_builder_create(domain, name, type); in hisysevent_create()
49 if (!event->builder) in hisysevent_create()
51 return event; in hisysevent_create()
54 hisysevent_destroy(&event); in hisysevent_create()
59 void hisysevent_destroy(struct hiview_hisysevent **event) in hisysevent_destroy() argument
61 if (!event || !*even in hisysevent_destroy()
73 hisysevent_put_integer(struct hiview_hisysevent *event, const char *key, long long value) hisysevent_put_integer() argument
83 hisysevent_put_string(struct hiview_hisysevent *event, const char *key, const char *value) hisysevent_put_string() argument
93 hisysevent_write(struct hiview_hisysevent *event) hisysevent_write() argument
[all...]
/third_party/ltp/testcases/kernel/syscalls/inotify/
H A Dinotify05.c7 * Check that inotify overflow event is properly generated
11 * event is generated.
28 /* size of the event structure, not counting name */
77 struct inotify_event *event; in verify_inotify() local
79 event = (struct inotify_event *)&event_buf[i]; in verify_inotify()
80 if (event->mask != IN_ACCESS && in verify_inotify()
81 event->mask != IN_MODIFY && in verify_inotify()
82 event->mask != IN_OPEN && in verify_inotify()
83 event->mask != IN_Q_OVERFLOW) { in verify_inotify()
85 "get event in verify_inotify()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/pmu/
H A Devent.h15 struct event { struct
32 void event_init(struct event *e, u64 config);
33 void event_init_named(struct event *e, u64 config, char *name);
34 void event_init_opts(struct event *e, u64 config, int type, char *name);
35 void event_init_sampling(struct event *e, u64 config);
36 int event_open_with_options(struct event *e, pid_t pid, int cpu, int group_fd);
37 int event_open_with_group(struct event *e, int group_fd);
38 int event_open_with_pid(struct event *e, pid_t pid);
39 int event_open_with_cpu(struct event *e, int cpu);
40 int event_open(struct event *
[all...]
/kernel/linux/linux-5.10/arch/s390/kernel/
H A Dperf_cpum_cf.c3 * Performance event support for s390x - CPU-measurement Counter Facility
19 static enum cpumf_ctr_set get_counter_set(u64 event) in get_counter_set() argument
23 if (event < 32) in get_counter_set()
25 else if (event < 64) in get_counter_set()
27 else if (event < 128) in get_counter_set()
29 else if (event < 288) in get_counter_set()
31 else if (event >= 448 && event < 496) in get_counter_set()
106 * PMUs that might suffice the event request. in validate_ctr_auth()
170 /* Release the PMU if event i
171 hw_perf_event_destroy(struct perf_event *event) hw_perf_event_destroy() argument
202 __hw_perf_event_init(struct perf_event *event, unsigned int type) __hw_perf_event_init() argument
303 cpumf_pmu_event_type(struct perf_event *event) cpumf_pmu_event_type() argument
315 cpumf_pmu_event_init(struct perf_event *event) cpumf_pmu_event_init() argument
334 hw_perf_event_reset(struct perf_event *event) hw_perf_event_reset() argument
357 hw_perf_event_update(struct perf_event *event) hw_perf_event_update() argument
374 cpumf_pmu_read(struct perf_event *event) cpumf_pmu_read() argument
382 cpumf_pmu_start(struct perf_event *event, int flags) cpumf_pmu_start() argument
413 cpumf_pmu_stop(struct perf_event *event, int flags) cpumf_pmu_stop() argument
434 cpumf_pmu_add(struct perf_event *event, int flags) cpumf_pmu_add() argument
458 cpumf_pmu_del(struct perf_event *event, int flags) cpumf_pmu_del() argument
[all...]
/kernel/linux/linux-6.6/drivers/perf/hisilicon/
H A Dhisi_pcie_pmu.c88 static u64 hisi_pcie_get_##_name(struct perf_event *event) \
90 return FIELD_GET(GENMASK(_hi, _lo), event->attr._config); \
93 HISI_PCIE_PMU_FILTER_ATTR(event, config, 16, 0);
174 * be treated as an independent event(index = 0x0010), "RX memory write packets
176 * bits are "real" event index, which can be used to set HISI_PCIE_EVENT_CTRL.
180 static u32 hisi_pcie_get_real_event(struct perf_event *event) in hisi_pcie_get_real_event() argument
182 return hisi_pcie_get_event(event) & GENMASK(15, 0); in hisi_pcie_get_real_event()
219 static void hisi_pcie_pmu_config_filter(struct perf_event *event) in hisi_pcie_pmu_config_filter() argument
221 struct hisi_pcie_pmu *pcie_pmu = to_pcie_pmu(event->pmu); in hisi_pcie_pmu_config_filter()
222 struct hw_perf_event *hwc = &event in hisi_pcie_pmu_config_filter()
262 hisi_pcie_pmu_clear_filter(struct perf_event *event) hisi_pcie_pmu_clear_filter() argument
291 hisi_pcie_pmu_valid_filter(struct perf_event *event, struct hisi_pcie_pmu *pcie_pmu) hisi_pcie_pmu_valid_filter() argument
310 hisi_pcie_pmu_cmp_event(struct perf_event *target, struct perf_event *event) hisi_pcie_pmu_cmp_event() argument
316 hisi_pcie_pmu_validate_event_group(struct perf_event *event) hisi_pcie_pmu_validate_event_group() argument
351 hisi_pcie_pmu_event_init(struct perf_event *event) hisi_pcie_pmu_event_init() argument
380 hisi_pcie_pmu_read_counter(struct perf_event *event) hisi_pcie_pmu_read_counter() argument
388 hisi_pcie_pmu_find_related_event(struct hisi_pcie_pmu *pcie_pmu, struct perf_event *event) hisi_pcie_pmu_find_related_event() argument
424 hisi_pcie_pmu_event_update(struct perf_event *event) hisi_pcie_pmu_event_update() argument
439 hisi_pcie_pmu_read(struct perf_event *event) hisi_pcie_pmu_read() argument
444 hisi_pcie_pmu_set_period(struct perf_event *event) hisi_pcie_pmu_set_period() argument
495 hisi_pcie_pmu_start(struct perf_event *event, int flags) hisi_pcie_pmu_start() argument
521 hisi_pcie_pmu_stop(struct perf_event *event, int flags) hisi_pcie_pmu_stop() argument
539 hisi_pcie_pmu_add(struct perf_event *event, int flags) hisi_pcie_pmu_add() argument
574 hisi_pcie_pmu_del(struct perf_event *event, int flags) hisi_pcie_pmu_del() argument
611 struct perf_event *event; hisi_pcie_pmu_irq() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
H A Drfkill.c58 struct rfkill_event event; in rfkill_receive() local
62 len = read(rfkill->fd, &event, sizeof(event)); in rfkill_receive()
69 wpa_printf(MSG_DEBUG, "rfkill: Unexpected event size " in rfkill_receive()
74 if (event.op != RFKILL_OP_CHANGE || event.idx != rfkill->idx) in rfkill_receive()
77 wpa_printf(MSG_DEBUG, "rfkill: event: idx=%u type=%d " in rfkill_receive()
79 event.idx, event.type, event in rfkill_receive()
106 struct rfkill_event event; rfkill_init() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
H A Drfkill.c58 struct rfkill_event event; in rfkill_receive() local
62 len = read(rfkill->fd, &event, sizeof(event)); in rfkill_receive()
69 wpa_printf(MSG_DEBUG, "rfkill: Unexpected event size " in rfkill_receive()
74 if (event.op != RFKILL_OP_CHANGE || event.idx != rfkill->idx) in rfkill_receive()
77 wpa_printf(MSG_DEBUG, "rfkill: event: idx=%u type=%d " in rfkill_receive()
79 event.idx, event.type, event in rfkill_receive()
106 struct rfkill_event event; rfkill_init() local
[all...]
/kernel/linux/linux-5.10/arch/x86/events/
H A Dcore.c96 * Propagate event elapsed time into the generic event.
97 * Can only be executed on the CPU where the event is active.
100 u64 x86_perf_event_update(struct perf_event *event) in x86_perf_event_update() argument
102 struct hw_perf_event *hwc = &event->hw; in x86_perf_event_update()
110 if (unlikely(is_topdown_count(event)) && x86_pmu.update_topdown_event) in x86_perf_event_update()
111 return x86_pmu.update_topdown_event(event); in x86_perf_event_update()
114 * Careful: an NMI might modify the previous event value. in x86_perf_event_update()
118 * count to the generic event atomically: in x86_perf_event_update()
131 * (event in x86_perf_event_update()
148 x86_pmu_extra_regs(u64 config, struct perf_event *event) x86_pmu_extra_regs() argument
314 hw_perf_event_destroy(struct perf_event *event) hw_perf_event_destroy() argument
320 hw_perf_lbr_event_destroy(struct perf_event *event) hw_perf_lbr_event_destroy() argument
334 set_ext_hw_attr(struct hw_perf_event *hwc, struct perf_event *event) set_ext_hw_attr() argument
449 x86_setup_perfctr(struct perf_event *event) x86_setup_perfctr() argument
494 precise_br_compat(struct perf_event *event) precise_br_compat() argument
536 x86_pmu_hw_config(struct perf_event *event) x86_pmu_hw_config() argument
626 __x86_pmu_event_init(struct perf_event *event) __x86_pmu_event_init() argument
717 is_x86_event(struct perf_event *event) is_x86_event() argument
744 int event; /* event index */ global() member
1073 add_nr_metric_event(struct cpu_hw_events *cpuc, struct perf_event *event) add_nr_metric_event() argument
1086 del_nr_metric_event(struct cpu_hw_events *cpuc, struct perf_event *event) del_nr_metric_event() argument
1093 collect_event(struct cpu_hw_events *cpuc, struct perf_event *event, int max_count, int n) collect_event() argument
1118 struct perf_event *event; collect_events() local
1168 x86_assign_hw_event(struct perf_event *event, struct cpu_hw_events *cpuc, int i) x86_assign_hw_event() argument
1219 x86_perf_rdpmc_index(struct perf_event *event) x86_perf_rdpmc_index() argument
1240 struct perf_event *event; x86_pmu_enable() local
1315 x86_perf_event_set_period(struct perf_event *event) x86_perf_event_set_period() argument
1389 x86_pmu_enable_event(struct perf_event *event) x86_pmu_enable_event() argument
1402 x86_pmu_add(struct perf_event *event, int flags) x86_pmu_add() argument
1460 x86_pmu_start(struct perf_event *event, int flags) x86_pmu_start() argument
1545 x86_pmu_stop(struct perf_event *event, int flags) x86_pmu_stop() argument
1568 x86_pmu_del(struct perf_event *event, int flags) x86_pmu_del() argument
1628 struct perf_event *event; x86_pmu_handle_irq() local
1870 x86_event_sysfs_show(char *page, u64 config, u64 event) x86_event_sysfs_show() argument
1939 _x86_pmu_read(struct perf_event *event) _x86_pmu_read() argument
2053 x86_pmu_read(struct perf_event *event) x86_pmu_read() argument
2186 validate_event(struct perf_event *event) validate_event() argument
2220 validate_group(struct perf_event *event) validate_group() argument
2252 x86_pmu_event_init(struct perf_event *event) x86_pmu_event_init() argument
2297 x86_pmu_event_mapped(struct perf_event *event, struct mm_struct *mm) x86_pmu_event_mapped() argument
2318 x86_pmu_event_unmapped(struct perf_event *event, struct mm_struct *mm) x86_pmu_event_unmapped() argument
2328 x86_pmu_event_idx(struct perf_event *event) x86_pmu_event_idx() argument
2443 x86_pmu_check_period(struct perf_event *event, u64 value) x86_pmu_check_period() argument
2456 x86_pmu_aux_output_match(struct perf_event *event) x86_pmu_aux_output_match() argument
2496 arch_perf_update_userpage(struct perf_event *event, struct perf_event_mmap_page *userpg, u64 now) arch_perf_update_userpage() argument
[all...]
H A Dmsr.c111 PMU_EVENT_ATTR_STRING(tsc, attr_tsc, "event=0x00" );
112 PMU_EVENT_ATTR_STRING(aperf, attr_aperf, "event=0x01" );
113 PMU_EVENT_ATTR_STRING(mperf, attr_mperf, "event=0x02" );
114 PMU_EVENT_ATTR_STRING(pperf, attr_pperf, "event=0x03" );
115 PMU_EVENT_ATTR_STRING(smi, attr_smi, "event=0x04" );
116 PMU_EVENT_ATTR_STRING(ptsc, attr_ptsc, "event=0x05" );
117 PMU_EVENT_ATTR_STRING(irperf, attr_irperf, "event=0x06" );
118 PMU_EVENT_ATTR_STRING(cpu_thermal_margin, attr_therm, "event=0x07" );
164 PMU_FORMAT_ATTR(event, "config:0-63");
191 static int msr_event_init(struct perf_event *event) in msr_event_init() argument
217 msr_read_counter(struct perf_event *event) msr_read_counter() argument
229 msr_event_update(struct perf_event *event) msr_event_update() argument
255 msr_event_start(struct perf_event *event, int flags) msr_event_start() argument
262 msr_event_stop(struct perf_event *event, int flags) msr_event_stop() argument
267 msr_event_del(struct perf_event *event, int flags) msr_event_del() argument
272 msr_event_add(struct perf_event *event, int flags) msr_event_add() argument
[all...]
/third_party/skia/third_party/externals/angle2/util/
H A DOSWindow.cpp260 static std::string KeyState(const Event::KeyEvent &event) in KeyState() argument
262 if (event.Shift || event.Control || event.Alt || event.System) in KeyState()
267 if (event.Shift) in KeyState()
271 if (event.Control) in KeyState()
275 if (event.Alt) in KeyState()
279 if (event.System) in KeyState()
290 static void PrintEvent(const Event &event) in PrintEvent() argument
392 popEvent(Event *event) popEvent() argument
406 pushEvent(Event event) pushEvent() argument
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Dsynthetic-events.c7 #include "util/event.h"
51 union perf_event *event, in perf_tool__process_synth_event()
62 .cpumode = event->header.misc & PERF_RECORD_MISC_CPUMODE_MASK, in perf_tool__process_synth_event()
65 return process(tool, event, &synth_sample, machine); in perf_tool__process_synth_event()
153 static int perf_event__prepare_comm(union perf_event *event, pid_t pid, pid_t tid, in perf_event__prepare_comm() argument
161 memset(&event->comm, 0, sizeof(event->comm)); in perf_event__prepare_comm()
164 if (perf_event__get_comm_ids(pid, tid, event->comm.comm, in perf_event__prepare_comm()
165 sizeof(event->comm.comm), in perf_event__prepare_comm()
176 event in perf_event__prepare_comm()
50 perf_tool__process_synth_event(struct perf_tool *tool, union perf_event *event, struct machine *machine, perf_event__handler_t process) perf_tool__process_synth_event() argument
190 perf_event__synthesize_comm(struct perf_tool *tool, union perf_event *event, pid_t pid, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_comm() argument
221 perf_event__synthesize_namespaces(struct perf_tool *tool, union perf_event *event, pid_t pid, pid_t tgid, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_namespaces() argument
260 perf_event__synthesize_fork(struct perf_tool *tool, union perf_event *event, pid_t pid, pid_t tgid, pid_t ppid, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_fork() argument
366 perf_record_mmap2__read_build_id(struct perf_record_mmap2 *event, struct machine *machine, bool is_kernel) perf_record_mmap2__read_build_id() argument
421 perf_event__synthesize_mmap_events(struct perf_tool *tool, union perf_event *event, pid_t pid, pid_t tgid, perf_event__handler_t process, struct machine *machine, bool mmap_data) perf_event__synthesize_mmap_events() argument
545 perf_event__synthesize_cgroup(struct perf_tool *tool, union perf_event *event, char *path, size_t mount_len, perf_event__handler_t process, struct machine *machine) perf_event__synthesize_cgroup() argument
585 perf_event__walk_cgroup_tree(struct perf_tool *tool, union perf_event *event, char *path, size_t mount_len, perf_event__handler_t process, struct machine *machine) perf_event__walk_cgroup_tree() argument
637 union perf_event event; perf_event__synthesize_cgroups() local
674 union perf_event *event; perf_event__synthesize_modules() local
1102 union perf_event *event; __perf_event__synthesize_kernel_mmap() local
1188 union perf_event *event; perf_event__synthesize_thread_map2() local
1318 struct perf_record_cpu_map *event; cpu_map_event__new() local
1338 struct perf_record_cpu_map *event; perf_event__synthesize_cpu_map() local
1356 struct perf_record_stat_config *event; perf_event__synthesize_stat_config() local
1396 struct perf_record_stat event; perf_event__synthesize_stat() local
1417 struct perf_record_stat_round event; perf_event__synthesize_stat_round() local
1572 perf_event__synthesize_sample(union perf_event *event, u64 type, u64 read_format, const struct perf_sample *sample) perf_event__synthesize_sample() argument
[all...]
/kernel/linux/linux-5.10/arch/loongarch/kernel/
H A Dperf_event.c96 * is used for an event.
149 #define M_PERFCTL_EVENT(event) (event & CSR_PERFCTRL_EVENT)
269 struct perf_event *event = container_of(evt, struct perf_event, hw); in loongarch_pmu_enable_event() local
278 cpu = (event->cpu >= 0) ? event->cpu : smp_processor_id(); in loongarch_pmu_enable_event()
300 static int loongarch_pmu_event_set_period(struct perf_event *event, in loongarch_pmu_event_set_period() argument
331 perf_event_update_userpage(event); in loongarch_pmu_event_set_period()
336 static void loongarch_pmu_event_update(struct perf_event *event, in loongarch_pmu_event_update() argument
353 local64_add(delta, &event in loongarch_pmu_event_update()
357 loongarch_pmu_start(struct perf_event *event, int flags) loongarch_pmu_start() argument
373 loongarch_pmu_stop(struct perf_event *event, int flags) loongarch_pmu_stop() argument
386 loongarch_pmu_add(struct perf_event *event, int flags) loongarch_pmu_add() argument
421 loongarch_pmu_del(struct perf_event *event, int flags) loongarch_pmu_del() argument
436 loongarch_pmu_read(struct perf_event *event) loongarch_pmu_read() argument
463 hw_perf_event_destroy(struct perf_event *event) hw_perf_event_destroy() argument
475 struct perf_event *event = cpuc->events[idx]; handle_associated_event() local
532 loongarch_pmu_event_init(struct perf_event *event) loongarch_pmu_event_init() argument
631 validate_group(struct perf_event *event) validate_group() argument
738 __hw_perf_event_init(struct perf_event *event) __hw_perf_event_init() argument
[all...]
/kernel/linux/linux-6.6/arch/loongarch/kernel/
H A Dperf_event.c95 * is used for an event.
148 #define M_PERFCTL_EVENT(event) (event & CSR_PERFCTRL_EVENT)
268 struct perf_event *event = container_of(evt, struct perf_event, hw); in loongarch_pmu_enable_event() local
277 cpu = (event->cpu >= 0) ? event->cpu : smp_processor_id(); in loongarch_pmu_enable_event()
299 static int loongarch_pmu_event_set_period(struct perf_event *event, in loongarch_pmu_event_set_period() argument
330 perf_event_update_userpage(event); in loongarch_pmu_event_set_period()
335 static void loongarch_pmu_event_update(struct perf_event *event, in loongarch_pmu_event_update() argument
352 local64_add(delta, &event in loongarch_pmu_event_update()
356 loongarch_pmu_start(struct perf_event *event, int flags) loongarch_pmu_start() argument
372 loongarch_pmu_stop(struct perf_event *event, int flags) loongarch_pmu_stop() argument
385 loongarch_pmu_add(struct perf_event *event, int flags) loongarch_pmu_add() argument
420 loongarch_pmu_del(struct perf_event *event, int flags) loongarch_pmu_del() argument
435 loongarch_pmu_read(struct perf_event *event) loongarch_pmu_read() argument
472 hw_perf_event_destroy(struct perf_event *event) hw_perf_event_destroy() argument
484 struct perf_event *event = cpuc->events[idx]; handle_associated_event() local
541 loongarch_pmu_event_init(struct perf_event *event) loongarch_pmu_event_init() argument
640 validate_group(struct perf_event *event) validate_group() argument
747 __hw_perf_event_init(struct perf_event *event) __hw_perf_event_init() argument
[all...]
/kernel/linux/linux-5.10/drivers/perf/
H A Darm_pmu.c10 * This code is based on the sparc64 perf event code, which is in turn based
108 static inline u64 arm_pmu_event_max_period(struct perf_event *event) in arm_pmu_event_max_period() argument
110 if (event->hw.flags & ARMPMU_EVT_64BIT) in arm_pmu_event_max_period()
170 armpmu_map_event(struct perf_event *event, in armpmu_map_event() argument
178 u64 config = event->attr.config; in armpmu_map_event()
179 int type = event->attr.type; in armpmu_map_event()
181 if (type == event->pmu->type) in armpmu_map_event()
196 int armpmu_event_set_period(struct perf_event *event) in armpmu_event_set_period() argument
198 struct arm_pmu *armpmu = to_arm_pmu(event->pmu); in armpmu_event_set_period()
199 struct hw_perf_event *hwc = &event in armpmu_event_set_period()
238 armpmu_event_update(struct perf_event *event) armpmu_event_update() argument
262 armpmu_read(struct perf_event *event) armpmu_read() argument
268 armpmu_stop(struct perf_event *event, int flags) armpmu_stop() argument
284 armpmu_start(struct perf_event *event, int flags) armpmu_start() argument
309 armpmu_del(struct perf_event *event, int flags) armpmu_del() argument
325 armpmu_add(struct perf_event *event, int flags) armpmu_add() argument
360 validate_event(struct pmu *pmu, struct pmu_hw_events *hw_events, struct perf_event *event) validate_event() argument
387 validate_group(struct perf_event *event) validate_group() argument
440 __hw_perf_event_init(struct perf_event *event) __hw_perf_event_init() argument
496 armpmu_event_init(struct perf_event *event) armpmu_event_init() argument
551 armpmu_filter_match(struct perf_event *event) armpmu_filter_match() argument
773 struct perf_event *event; cpu_pm_pmu_setup() local
[all...]
/kernel/linux/linux-5.10/tools/perf/tests/
H A Dparse-metric.c85 const char *event; member
93 while (v->event) { in find_value()
94 if (!strcmp(name, v->event)) in find_value()
208 { .event = "inst_retired.any", .val = 300 }, in test_ipc()
209 { .event = "cpu_clk_unhalted.thread", .val = 200 }, in test_ipc()
210 { .event = NULL, }, in test_ipc()
225 { .event = "idq_uops_not_delivered.core", .val = 300 }, in test_frontend()
226 { .event = "cpu_clk_unhalted.thread", .val = 200 }, in test_frontend()
227 { .event = "cpu_clk_unhalted.one_thread_active", .val = 400 }, in test_frontend()
228 { .event in test_frontend()
[all...]
/kernel/linux/linux-6.6/arch/x86/events/
H A Dmsr.c123 PMU_EVENT_ATTR_STRING(tsc, attr_tsc, "event=0x00" );
124 PMU_EVENT_ATTR_STRING(aperf, attr_aperf, "event=0x01" );
125 PMU_EVENT_ATTR_STRING(mperf, attr_mperf, "event=0x02" );
126 PMU_EVENT_ATTR_STRING(pperf, attr_pperf, "event=0x03" );
127 PMU_EVENT_ATTR_STRING(smi, attr_smi, "event=0x04" );
128 PMU_EVENT_ATTR_STRING(ptsc, attr_ptsc, "event=0x05" );
129 PMU_EVENT_ATTR_STRING(irperf, attr_irperf, "event=0x06" );
130 PMU_EVENT_ATTR_STRING(cpu_thermal_margin, attr_therm, "event=0x07" );
176 PMU_FORMAT_ATTR(event, "config:0-63");
203 static int msr_event_init(struct perf_event *event) in msr_event_init() argument
229 msr_read_counter(struct perf_event *event) msr_read_counter() argument
241 msr_event_update(struct perf_event *event) msr_event_update() argument
265 msr_event_start(struct perf_event *event, int flags) msr_event_start() argument
272 msr_event_stop(struct perf_event *event, int flags) msr_event_stop() argument
277 msr_event_del(struct perf_event *event, int flags) msr_event_del() argument
282 msr_event_add(struct perf_event *event, int flags) msr_event_add() argument
[all...]

Completed in 17 milliseconds

1...<<11121314151617181920>>...277