Home
last modified time | relevance | path

Searched refs:event (Results 1151 - 1175 of 6934) sorted by relevance

1...<<41424344454647484950>>...278

/kernel/linux/linux-5.10/tools/perf/util/
H A Dintel-bts.c133 union perf_event event; in intel_bts_lost() local
136 auxtrace_synth_error(&event.auxtrace_error, PERF_AUXTRACE_ERROR_ITRACE, in intel_bts_lost()
140 err = perf_session__deliver_synth_event(bts->session, &event, NULL); in intel_bts_lost()
142 pr_err("Intel BTS: failed to deliver error event, error %d\n", in intel_bts_lost()
277 union perf_event event; in intel_bts_synth_branch_sample() local
297 event.sample.header.type = PERF_RECORD_SAMPLE; in intel_bts_synth_branch_sample()
298 event.sample.header.misc = sample.cpumode; in intel_bts_synth_branch_sample()
299 event.sample.header.size = sizeof(struct perf_event_header); in intel_bts_synth_branch_sample()
302 event.sample.header.size = bts->branches_event_size; in intel_bts_synth_branch_sample()
303 ret = perf_event__synthesize_sample(&event, in intel_bts_synth_branch_sample()
347 union perf_event event; intel_bts_synth_error() local
591 intel_bts_process_event(struct perf_session *session, union perf_event *event, struct perf_sample *sample, struct perf_tool *tool) intel_bts_process_event() argument
635 intel_bts_process_auxtrace_event(struct perf_session *session, union perf_event *event, struct perf_tool *tool __maybe_unused) intel_bts_process_auxtrace_event() argument
745 intel_bts_event_synth(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample __maybe_unused, struct machine *machine __maybe_unused) intel_bts_event_synth() argument
857 intel_bts_process_auxtrace_info(union perf_event *event, struct perf_session *session) intel_bts_process_auxtrace_info() argument
[all...]
/kernel/linux/linux-5.10/kernel/trace/
H A Dtrace_events_filter.c3 * trace_events_filter - generic event filtering
594 static int filter_pred_LT_##type(struct filter_pred *pred, void *event) \
596 type *addr = (type *)(event + pred->offset); \
600 static int filter_pred_LE_##type(struct filter_pred *pred, void *event) \
602 type *addr = (type *)(event + pred->offset); \
606 static int filter_pred_GT_##type(struct filter_pred *pred, void *event) \
608 type *addr = (type *)(event + pred->offset); \
612 static int filter_pred_GE_##type(struct filter_pred *pred, void *event) \
614 type *addr = (type *)(event + pred->offset); \
618 static int filter_pred_BAND_##type(struct filter_pred *pred, void *event) \
705 filter_pred_string(struct filter_pred *pred, void *event) filter_pred_string() argument
730 filter_pred_pchar(struct filter_pred *pred, void *event) filter_pred_pchar() argument
743 filter_pred_pchar_user(struct filter_pred *pred, void *event) filter_pred_pchar_user() argument
765 filter_pred_strloc(struct filter_pred *pred, void *event) filter_pred_strloc() argument
781 filter_pred_cpu(struct filter_pred *pred, void *event) filter_pred_cpu() argument
807 filter_pred_comm(struct filter_pred *pred, void *event) filter_pred_comm() argument
816 filter_pred_none(struct filter_pred *pred, void *event) filter_pred_none() argument
1989 ftrace_profile_free_filter(struct perf_event *event) ftrace_profile_free_filter() argument
2121 ftrace_function_set_filter(struct perf_event *event, struct event_filter *filter) ftrace_function_set_filter() argument
2145 ftrace_function_set_filter(struct perf_event *event, struct event_filter *filter) ftrace_function_set_filter() argument
2152 ftrace_profile_set_filter(struct perf_event *event, int event_id, char *filter_str) ftrace_profile_set_filter() argument
2276 test_pred_visited_fn(struct filter_pred *pred, void *event) test_pred_visited_fn() argument
[all...]
H A Dtrace_kprobe.c42 static bool trace_kprobe_match(const char *system, const char *event,
54 * Kprobe event core functions
164 static bool trace_kprobe_match(const char *system, const char *event, in trace_kprobe_match() argument
169 return strcmp(trace_probe_name(&tk->tp), event) == 0 && in trace_kprobe_match()
258 const char *event, in alloc_trace_kprobe()
294 ret = trace_probe_init(&tk->tp, event, group, false); in alloc_trace_kprobe()
305 static struct trace_kprobe *find_trace_kprobe(const char *event, in find_trace_kprobe() argument
312 if (strcmp(trace_probe_name(&tk->tp), event) == 0 && in find_trace_kprobe()
427 * Synchronization is done in below function. For perf event, in disable_trace_kprobe()
430 * event in disable_trace_kprobe()
257 alloc_trace_kprobe(const char *group, const char *event, void *addr, const char *symbol, unsigned long offs, int maxactive, int nargs, bool is_return) alloc_trace_kprobe() argument
748 const char *event = NULL, *group = KPROBE_EVENT_SYSTEM; trace_kprobe_create() local
1480 print_kprobe_event(struct trace_iterator *iter, int flags, struct trace_event *event) print_kprobe_event() argument
1510 print_kretprobe_event(struct trace_iterator *iter, int flags, struct trace_event *event) print_kretprobe_event() argument
1663 bpf_get_kprobe_info(const struct perf_event *event, u32 *fd_type, const char **symbol, u64 *probe_offset, u64 *probe_addr, bool perf_type_tracepoint) bpf_get_kprobe_info() argument
1699 kprobe_register(struct trace_event_call *event, enum trace_reg type, void *data) kprobe_register() argument
1815 char *event; create_local_trace_kprobe() local
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Dintel-bts.c133 union perf_event event; in intel_bts_lost() local
136 auxtrace_synth_error(&event.auxtrace_error, PERF_AUXTRACE_ERROR_ITRACE, in intel_bts_lost()
140 err = perf_session__deliver_synth_event(bts->session, &event, NULL); in intel_bts_lost()
142 pr_err("Intel BTS: failed to deliver error event, error %d\n", in intel_bts_lost()
277 union perf_event event; in intel_bts_synth_branch_sample() local
297 event.sample.header.type = PERF_RECORD_SAMPLE; in intel_bts_synth_branch_sample()
298 event.sample.header.misc = sample.cpumode; in intel_bts_synth_branch_sample()
299 event.sample.header.size = sizeof(struct perf_event_header); in intel_bts_synth_branch_sample()
302 event.sample.header.size = bts->branches_event_size; in intel_bts_synth_branch_sample()
303 ret = perf_event__synthesize_sample(&event, in intel_bts_synth_branch_sample()
347 union perf_event event; intel_bts_synth_error() local
591 intel_bts_process_event(struct perf_session *session, union perf_event *event, struct perf_sample *sample, struct perf_tool *tool) intel_bts_process_event() argument
635 intel_bts_process_auxtrace_event(struct perf_session *session, union perf_event *event, struct perf_tool *tool __maybe_unused) intel_bts_process_auxtrace_event() argument
745 intel_bts_event_synth(struct perf_tool *tool, union perf_event *event, struct perf_sample *sample __maybe_unused, struct machine *machine __maybe_unused) intel_bts_event_synth() argument
857 intel_bts_process_auxtrace_info(union perf_event *event, struct perf_session *session) intel_bts_process_auxtrace_info() argument
[all...]
/third_party/node/lib/internal/
H A Devent_target.js549 * @param {Event} event
603 // not prevent the event target from GC.
707 * @param {Event} event
709 dispatchEvent(event) {
713 throw new ERR_MISSING_ARGS('event');
715 if (!(event instanceof Event))
716 throw new ERR_INVALID_ARG_TYPE('event', 'Event', event);
718 if (event[kIsBeingDispatched])
719 throw new ERR_EVENT_RECURSION(event
[all...]
/kernel/linux/linux-5.10/arch/x86/events/intel/
H A Duncore_snb.c65 /* SNB event control */
133 DEFINE_UNCORE_FORMAT_ATTR(event, event, "config:0-7");
141 static void snb_uncore_msr_enable_event(struct intel_uncore_box *box, struct perf_event *event) in snb_uncore_msr_enable_event() argument
143 struct hw_perf_event *hwc = &event->hw; in snb_uncore_msr_enable_event()
151 static void snb_uncore_msr_disable_event(struct intel_uncore_box *box, struct perf_event *event) in snb_uncore_msr_disable_event() argument
153 wrmsrl(event->hw.config_base, 0); in snb_uncore_msr_disable_event()
177 INTEL_UNCORE_EVENT_DESC(clockticks, "event=0xff,umask=0x00"),
339 INTEL_UNCORE_EVENT_DESC(clockticks, "event=0xff"),
422 INTEL_UNCORE_EVENT_DESC(data_reads, "event
529 snb_uncore_imc_enable_event(struct intel_uncore_box *box, struct perf_event *event) snb_uncore_imc_enable_event() argument
532 snb_uncore_imc_disable_event(struct intel_uncore_box *box, struct perf_event *event) snb_uncore_imc_disable_event() argument
539 snb_uncore_imc_event_init(struct perf_event *event) snb_uncore_imc_event_init() argument
627 snb_uncore_imc_hw_config(struct intel_uncore_box *box, struct perf_event *event) snb_uncore_imc_hw_config() argument
660 snb_uncore_imc_read_counter(struct intel_uncore_box *box, struct perf_event *event) snb_uncore_imc_read_counter() argument
1108 nhm_uncore_msr_enable_event(struct intel_uncore_box *box, struct perf_event *event) nhm_uncore_msr_enable_event() argument
[all...]
/kernel/linux/linux-6.6/arch/x86/events/intel/
H A Duncore_snb.c133 /* SNB event control */
247 DEFINE_UNCORE_FORMAT_ATTR(event, event, "config:0-7");
257 static void snb_uncore_msr_enable_event(struct intel_uncore_box *box, struct perf_event *event) in snb_uncore_msr_enable_event() argument
259 struct hw_perf_event *hwc = &event->hw; in snb_uncore_msr_enable_event()
267 static void snb_uncore_msr_disable_event(struct intel_uncore_box *box, struct perf_event *event) in snb_uncore_msr_disable_event() argument
269 wrmsrl(event->hw.config_base, 0); in snb_uncore_msr_disable_event()
293 INTEL_UNCORE_EVENT_DESC(clockticks, "event=0xff,umask=0x00"),
455 INTEL_UNCORE_EVENT_DESC(clockticks, "event=0xff"),
754 INTEL_UNCORE_EVENT_DESC(data_reads, "event
861 snb_uncore_imc_enable_event(struct intel_uncore_box *box, struct perf_event *event) snb_uncore_imc_enable_event() argument
864 snb_uncore_imc_disable_event(struct intel_uncore_box *box, struct perf_event *event) snb_uncore_imc_disable_event() argument
871 snb_uncore_imc_event_init(struct perf_event *event) snb_uncore_imc_event_init() argument
959 snb_uncore_imc_hw_config(struct intel_uncore_box *box, struct perf_event *event) snb_uncore_imc_hw_config() argument
992 snb_uncore_imc_read_counter(struct intel_uncore_box *box, struct perf_event *event) snb_uncore_imc_read_counter() argument
1288 nhm_uncore_msr_enable_event(struct intel_uncore_box *box, struct perf_event *event) nhm_uncore_msr_enable_event() argument
[all...]
/kernel/linux/linux-5.10/kernel/locking/
H A Dlock_events.h23 lockevent_num, /* Total number of lock event counts */
37 static inline void __lockevent_inc(enum lock_events event, bool cond) in __lockevent_inc() argument
40 raw_cpu_inc(lockevents[event]); in __lockevent_inc()
46 static inline void __lockevent_add(enum lock_events event, int inc) in __lockevent_add() argument
48 raw_cpu_add(lockevents[event], inc); in __lockevent_add()
/kernel/linux/linux-6.6/include/linux/firmware/
H A Dxlnx-event-manager.h16 const u32 event, const bool wake,
20 const u32 event, event_cb_func_t cb_fun, void *data);
23 const u32 event, const bool wake, in xlnx_register_event()
30 const u32 event, event_cb_func_t cb_fun, void *data) in xlnx_unregister_event()
22 xlnx_register_event(const enum pm_api_cb_id cb_type, const u32 node_id, const u32 event, const bool wake, event_cb_func_t cb_fun, void *data) xlnx_register_event() argument
29 xlnx_unregister_event(const enum pm_api_cb_id cb_type, const u32 node_id, const u32 event, event_cb_func_t cb_fun, void *data) xlnx_unregister_event() argument
/kernel/linux/linux-6.6/kernel/locking/
H A Dlock_events.h23 lockevent_num, /* Total number of lock event counts */
37 static inline void __lockevent_inc(enum lock_events event, bool cond) in __lockevent_inc() argument
40 raw_cpu_inc(lockevents[event]); in __lockevent_inc()
46 static inline void __lockevent_add(enum lock_events event, int inc) in __lockevent_add() argument
48 raw_cpu_add(lockevents[event], inc); in __lockevent_add()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/include/nvif/
H A Devent.h18 nvif_event_constructed(struct nvif_event *event) in nvif_event_constructed() argument
20 return nvif_object_constructed(&event->object); in nvif_event_constructed()
28 bool wait, struct nvif_event_v0 *args, u32 argc, struct nvif_event *event) in nvif_event_ctor()
30 return nvif_event_ctor_(parent, name, handle, func, wait, args, argc, true, event); in nvif_event_ctor()
27 nvif_event_ctor(struct nvif_object *parent, const char *name, u32 handle, nvif_event_func func, bool wait, struct nvif_event_v0 *args, u32 argc, struct nvif_event *event) nvif_event_ctor() argument
/third_party/musl/src/hook/linux/
H A Dmusl_fdtrack_load.c30 struct fdtrack_event event; in FDTRACK_START_HOOK() local
31 event.type = FDTRACK_EVENT_TYPE_CREATE; in FDTRACK_START_HOOK()
32 event.fd = fd; in FDTRACK_START_HOOK()
33 atomic_load(&__fdtrack_hook)(&event); in FDTRACK_START_HOOK()
/third_party/ltp/testcases/kernel/syscalls/perf_event_open/
H A Dperf_event_open.h15 static int perf_event_open(struct perf_event_attr *event, pid_t pid, in perf_event_open() argument
20 ret = tst_syscall(__NR_perf_event_open, event, pid, cpu, in perf_event_open()
26 tst_res(TINFO, "%s event.type: %"PRIu32 in perf_event_open()
27 ", event.config: %"PRIu64, __func__, (uint32_t)event->type, in perf_event_open()
28 (uint64_t)event->config); in perf_event_open()
/third_party/protobuf/benchmarks/js/
H A Dbenchmark_suite.js7 .on("add", function(event) {
8 benches.push(event.target);
16 .on("cycle", function(event) {
17 process.stdout.write(String(event.target) + "\n");
/kernel/linux/linux-5.10/drivers/iio/adc/
H A Dxilinx-xadc-events.c16 struct iio_dev *indio_dev, unsigned int event) in xadc_event_to_channel()
18 switch (event) { in xadc_event_to_channel()
24 return &indio_dev->channels[event]; in xadc_event_to_channel()
26 return &indio_dev->channels[event-1]; in xadc_event_to_channel()
30 static void xadc_handle_event(struct iio_dev *indio_dev, unsigned int event) in xadc_handle_event() argument
35 if (event == 0) in xadc_handle_event()
38 chan = xadc_event_to_channel(indio_dev, event); in xadc_handle_event()
52 * lower threshold event. Userspace will have to check the in xadc_handle_event()
15 xadc_event_to_channel( struct iio_dev *indio_dev, unsigned int event) xadc_event_to_channel() argument
/kernel/linux/linux-5.10/include/net/sctp/
H A Dulpevent.h57 /* Retrieve the skb this event sits inside of. */
63 /* Retrieve & cast the event sitting inside the skb. */
145 void sctp_ulpevent_read_sndrcvinfo(const struct sctp_ulpevent *event,
147 void sctp_ulpevent_read_rcvinfo(const struct sctp_ulpevent *event,
149 void sctp_ulpevent_read_nxtinfo(const struct sctp_ulpevent *event,
152 __u16 sctp_ulpevent_get_notification_type(const struct sctp_ulpevent *event);
166 /* Is this event type enabled? */
175 /* Given an event subscription, is this event enabled? */
176 static inline bool sctp_ulpevent_is_enabled(const struct sctp_ulpevent *event, in sctp_ulpevent_is_enabled() argument
[all...]
/kernel/linux/linux-5.10/include/net/netfilter/
H A Dnf_conntrack_ecache.h3 * connection tracking event cache.
17 NFCT_ECACHE_UNKNOWN, /* destroy event not sent */
18 NFCT_ECACHE_DESTROY_FAIL, /* tried but failed to send destroy event */
19 NFCT_ECACHE_DESTROY_SENT, /* sent destroy event after failure */
68 /* This structure is passed to event handler */
105 nf_conntrack_event_cache(enum ip_conntrack_events event, struct nf_conn *ct) in nf_conntrack_event_cache() argument
118 set_bit(event, &e->cache); in nf_conntrack_event_cache()
123 nf_conntrack_event_report(enum ip_conntrack_events event, struct nf_conn *ct, in nf_conntrack_event_report() argument
132 return nf_conntrack_eventmask_report(1 << event, ct, portid, report); in nf_conntrack_event_report()
139 nf_conntrack_event(enum ip_conntrack_events event, struc argument
[all...]
/kernel/linux/linux-5.10/sound/firewire/oxfw/
H A Doxfw-hwdep.c23 union snd_firewire_event event; in hwdep_read() local
37 memset(&event, 0, sizeof(event)); in hwdep_read()
39 event.lock_status.type = SNDRV_FIREWIRE_EVENT_LOCK_STATUS; in hwdep_read()
40 event.lock_status.status = (oxfw->dev_lock_count > 0); in hwdep_read()
43 count = min_t(long, count, sizeof(event.lock_status)); in hwdep_read()
48 if (copy_to_user(buf, &event, count)) in hwdep_read()
/kernel/linux/linux-5.10/sound/firewire/bebob/
H A Dbebob_hwdep.c24 union snd_firewire_event event; in hwdep_read() local
38 memset(&event, 0, sizeof(event)); in hwdep_read()
39 count = min_t(long, count, sizeof(event.lock_status)); in hwdep_read()
41 event.lock_status.type = SNDRV_FIREWIRE_EVENT_LOCK_STATUS; in hwdep_read()
42 event.lock_status.status = (bebob->dev_lock_count > 0); in hwdep_read()
48 if (copy_to_user(buf, &event, count)) in hwdep_read()
/kernel/linux/linux-5.10/sound/firewire/fireface/
H A Dff-hwdep.c23 union snd_firewire_event event; in hwdep_read() local
37 memset(&event, 0, sizeof(event)); in hwdep_read()
39 event.lock_status.type = SNDRV_FIREWIRE_EVENT_LOCK_STATUS; in hwdep_read()
40 event.lock_status.status = (ff->dev_lock_count > 0); in hwdep_read()
43 count = min_t(long, count, sizeof(event.lock_status)); in hwdep_read()
48 if (copy_to_user(buf, &event, count)) in hwdep_read()
/kernel/linux/linux-6.6/include/net/sctp/
H A Dulpevent.h57 /* Retrieve the skb this event sits inside of. */
63 /* Retrieve & cast the event sitting inside the skb. */
145 void sctp_ulpevent_read_sndrcvinfo(const struct sctp_ulpevent *event,
147 void sctp_ulpevent_read_rcvinfo(const struct sctp_ulpevent *event,
149 void sctp_ulpevent_read_nxtinfo(const struct sctp_ulpevent *event,
152 __u16 sctp_ulpevent_get_notification_type(const struct sctp_ulpevent *event);
166 /* Is this event type enabled? */
175 /* Given an event subscription, is this event enabled? */
176 static inline bool sctp_ulpevent_is_enabled(const struct sctp_ulpevent *event, in sctp_ulpevent_is_enabled() argument
[all...]
/kernel/linux/linux-6.6/drivers/iio/adc/
H A Dxilinx-xadc-events.c16 struct iio_dev *indio_dev, unsigned int event) in xadc_event_to_channel()
18 switch (event) { in xadc_event_to_channel()
24 return &indio_dev->channels[event]; in xadc_event_to_channel()
26 return &indio_dev->channels[event-1]; in xadc_event_to_channel()
30 static void xadc_handle_event(struct iio_dev *indio_dev, unsigned int event) in xadc_handle_event() argument
35 if (event == 0) in xadc_handle_event()
38 chan = xadc_event_to_channel(indio_dev, event); in xadc_handle_event()
52 * lower threshold event. Userspace will have to check the in xadc_handle_event()
15 xadc_event_to_channel( struct iio_dev *indio_dev, unsigned int event) xadc_event_to_channel() argument
/kernel/linux/linux-6.6/sound/firewire/bebob/
H A Dbebob_hwdep.c24 union snd_firewire_event event; in hwdep_read() local
38 memset(&event, 0, sizeof(event)); in hwdep_read()
39 count = min_t(long, count, sizeof(event.lock_status)); in hwdep_read()
40 event.lock_status.type = SNDRV_FIREWIRE_EVENT_LOCK_STATUS; in hwdep_read()
41 event.lock_status.status = (bebob->dev_lock_count > 0); in hwdep_read()
46 if (copy_to_user(buf, &event, count)) in hwdep_read()
/kernel/linux/linux-6.6/sound/firewire/oxfw/
H A Doxfw-hwdep.c23 union snd_firewire_event event; in hwdep_read() local
37 memset(&event, 0, sizeof(event)); in hwdep_read()
38 event.lock_status.type = SNDRV_FIREWIRE_EVENT_LOCK_STATUS; in hwdep_read()
39 event.lock_status.status = (oxfw->dev_lock_count > 0); in hwdep_read()
42 count = min_t(long, count, sizeof(event.lock_status)); in hwdep_read()
46 if (copy_to_user(buf, &event, count)) in hwdep_read()
/third_party/ffmpeg/libavfilter/
H A Dopencl.h146 #define CL_ENQUEUE_KERNEL_WITH_ARGS(queue, kernel, global_work_size, local_work_size, event, ...) \
168 event \
180 #define CL_RUN_KERNEL_WITH_ARGS(queue, kernel, global_work_size, local_work_size, event, ...) do { \
182 queue, kernel, global_work_size, local_work_size, event, __VA_ARGS__ \
214 #define CL_BLOCKING_WRITE_BUFFER(queue, buffer, size, host_ptr, event) do { \
224 event \
294 * Gets the command start and end times for the given event and returns the
295 * difference (the time that the event took).
297 cl_ulong ff_opencl_get_event_time(cl_event event);

Completed in 17 milliseconds

1...<<41424344454647484950>>...278