/kernel/linux/linux-5.10/arch/riscv/kernel/ |
H A D | perf_event.c | 16 * functionality for perf event to fully work, this file provides 214 static void riscv_pmu_read(struct perf_event *event) in riscv_pmu_read() argument 216 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_read() 235 local64_add(delta, &event->count); in riscv_pmu_read() 251 static void riscv_pmu_stop(struct perf_event *event, int flags) in riscv_pmu_stop() argument 253 struct hw_perf_event *hwc = &event->hw; in riscv_pmu_stop() 259 riscv_pmu->pmu->read(event); in riscv_pmu_stop() 265 * pmu->start: start the event. 267 static void riscv_pmu_start(struct perf_event *event, int flags) in riscv_pmu_start() argument 269 struct hw_perf_event *hwc = &event in riscv_pmu_start() 297 riscv_pmu_add(struct perf_event *event, int flags) riscv_pmu_add() argument 328 riscv_pmu_del(struct perf_event *event, int flags) riscv_pmu_del() argument 378 riscv_event_destroy(struct perf_event *event) riscv_event_destroy() argument 384 riscv_event_init(struct perf_event *event) riscv_event_init() argument [all...] |
/kernel/linux/linux-6.6/include/rv/ |
H A D | da_monitor.h | 23 static inline char *format_react_msg_##name(type curr_state, type event) \ 26 "rv: monitor %s does not allow event %s on state %s\n", \ 28 model_get_event_name_##name(event), \ 47 static inline char *format_react_msg_##name(type curr_state, type event) \ 156 da_event_##name(struct da_monitor *da_mon, enum events_##name event) \ 159 type next_state = model_get_next_state_##name(curr_state, event); \ 165 model_get_event_name_##name(event), \ 173 cond_react_##name(format_react_msg_##name(curr_state, event)); \ 176 model_get_event_name_##name(event)); \ 187 enum events_##name event) \ [all...] |
/kernel/liteos_a/arch/arm/arm/src/pmu/ |
H A D | armv7_pmu.c | 90 PRINT_DEBUG("bind event: %u to counter: %u\n", value, index); in Armv7BindEvt2Cnt() 137 STATIC VOID Armv7EnableEvent(Event *event) in Armv7EnableEvent() argument 139 UINT32 cnt = event->counter; in Armv7EnableEvent() 146 if (event->period == 0) { in Armv7EnableEvent() 147 PRINT_INFO("event period value not valid, counter: %u\n", cnt); in Armv7EnableEvent() 152 * the event that we're interested in. in Armv7EnableEvent() 159 * Set event (if destined for PMNx counters) in Armv7EnableEvent() 160 * We only need to set the event for the cycle counter if we in Armv7EnableEvent() 161 * have the ability to perform event filtering. in Armv7EnableEvent() 164 Armv7BindEvt2Cnt(cnt, event in Armv7EnableEvent() 175 Armv7DisableEvent(Event *event) Armv7DisableEvent() argument 231 Armv7SetEventPeriod(Event *event) Armv7SetEventPeriod() argument 239 Armv7ReadEventCnt(Event *event) Armv7ReadEventCnt() argument 312 Event *event = &(events->per[index]); Armv7PmuIrqHandler() local [all...] |
/kernel/linux/linux-6.6/arch/x86/events/intel/ |
H A D | ds.c | 213 static u64 precise_datala_hsw(struct perf_event *event, u64 status) in precise_datala_hsw() argument 219 if (event->hw.flags & PERF_X86_EVENT_PEBS_ST_HSW) in precise_datala_hsw() 221 else if (event->hw.flags & PERF_X86_EVENT_PEBS_LD_HSW) in precise_datala_hsw() 232 if (event->hw.flags & PERF_X86_EVENT_PEBS_ST_HSW) { in precise_datala_hsw() 259 static u64 __adl_latency_data_small(struct perf_event *event, u64 status, in __adl_latency_data_small() argument 264 WARN_ON_ONCE(hybrid_pmu(event->pmu)->cpu_type == hybrid_big); in __adl_latency_data_small() 267 val = hybrid_var(event->pmu, pebs_data_source)[dse]; in __adl_latency_data_small() 279 u64 adl_latency_data_small(struct perf_event *event, u64 status) in adl_latency_data_small() argument 285 return __adl_latency_data_small(event, status, dse.ld_dse, in adl_latency_data_small() 291 u64 mtl_latency_data_small(struct perf_event *event, u6 argument 302 load_latency_data(struct perf_event *event, u64 status) load_latency_data() argument 351 store_latency_data(struct perf_event *event, u64 status) store_latency_data() argument 764 struct perf_event *event = cpuc->events[INTEL_PMC_IDX_FIXED_BTS]; intel_pmu_drain_bts_buffer() local 1088 intel_pebs_constraints(struct perf_event *event) intel_pebs_constraints() argument 1186 pebs_update_adaptive_cfg(struct perf_event *event) pebs_update_adaptive_cfg() argument 1233 pebs_update_state(bool needed_cb, struct cpu_hw_events *cpuc, struct perf_event *event, bool add) pebs_update_state() argument 1271 intel_pmu_pebs_add(struct perf_event *event) intel_pmu_pebs_add() argument 1286 intel_pmu_pebs_via_pt_disable(struct perf_event *event) intel_pmu_pebs_via_pt_disable() argument 1297 intel_pmu_pebs_via_pt_enable(struct perf_event *event) intel_pmu_pebs_via_pt_enable() argument 1332 intel_pmu_pebs_enable(struct perf_event *event) intel_pmu_pebs_enable() argument 1389 intel_pmu_pebs_del(struct perf_event *event) intel_pmu_pebs_del() argument 1404 intel_pmu_pebs_disable(struct perf_event *event) intel_pmu_pebs_disable() argument 1567 get_data_src(struct perf_event *event, u64 aux) get_data_src() argument 1586 setup_pebs_time(struct perf_event *event, struct perf_sample_data *data, u64 tsc) setup_pebs_time() argument 1611 setup_pebs_fixed_sample_data(struct perf_event *event, struct pt_regs *iregs, void *__pebs, struct perf_sample_data *data, struct pt_regs *regs) setup_pebs_fixed_sample_data() argument 1792 setup_pebs_adaptive_sample_data(struct perf_event *event, struct pt_regs *iregs, void *__pebs, struct perf_sample_data *data, struct pt_regs *regs) setup_pebs_adaptive_sample_data() argument 1964 intel_pmu_auto_reload_read(struct perf_event *event) intel_pmu_auto_reload_read() argument 1977 intel_pmu_save_and_restart_reload(struct perf_event *event, int count) intel_pmu_save_and_restart_reload() argument 2035 __intel_pmu_pebs_event(struct perf_event *event, struct pt_regs *iregs, struct perf_sample_data *data, void *base, void *top, int bit, int count, void (*setup_sample)(struct perf_event *, struct pt_regs *, void *, struct perf_sample_data *, struct pt_regs *)) __intel_pmu_pebs_event() argument 2098 struct perf_event *event = cpuc->events[0]; /* PMC0 only */ intel_pmu_drain_pebs_core() local 2134 struct perf_event *event; intel_pmu_pebs_event_update_no_drain() local 2155 struct perf_event *event; intel_pmu_drain_pebs_nhm() local 2272 struct perf_event *event; intel_pmu_drain_pebs_icl() local [all...] |
H A D | pt.c | 42 * width encoded in IP-related packets), and event configuration (bitmasks with 115 PMU_FORMAT_ATTR(event, "config:31" ); 312 static bool pt_event_valid(struct perf_event *event) in pt_event_valid() argument 314 u64 config = event->attr.config; in pt_event_valid() 416 static void pt_config_start(struct perf_event *event) in pt_config_start() argument 419 u64 ctl = event->hw.config; in pt_config_start() 427 WRITE_ONCE(event->hw.config, ctl); in pt_config_start() 458 static u64 pt_config_filters(struct perf_event *event) in pt_config_filters() argument 460 struct pt_filters *filters = event->hw.addr_filters; in pt_config_filters() 468 perf_event_addr_filters_sync(event); in pt_config_filters() 499 pt_config(struct perf_event *event) pt_config() argument 540 pt_config_stop(struct perf_event *event) pt_config_stop() argument 1295 pt_buffer_setup_aux(struct perf_event *event, void **pages, int nr_pages, bool snapshot) pt_buffer_setup_aux() argument 1351 pt_addr_filters_init(struct perf_event *event) pt_addr_filters_init() argument 1372 pt_addr_filters_fini(struct perf_event *event) pt_addr_filters_fini() argument 1420 pt_event_addr_filters_sync(struct perf_event *event) pt_event_addr_filters_sync() argument 1477 struct perf_event *event = pt->handle.event; intel_pt_interrupt() local 1529 struct perf_event *event; intel_pt_handle_vmx() local 1566 pt_event_start(struct perf_event *event, int mode) pt_event_start() argument 1596 pt_event_stop(struct perf_event *event, int mode) pt_event_stop() argument 1636 pt_event_snapshot_aux(struct perf_event *event, struct perf_output_handle *handle, unsigned long size) pt_event_snapshot_aux() argument 1682 pt_event_del(struct perf_event *event, int mode) pt_event_del() argument 1687 pt_event_add(struct perf_event *event, int mode) pt_event_add() argument 1711 pt_event_read(struct perf_event *event) pt_event_read() argument 1715 pt_event_destroy(struct perf_event *event) pt_event_destroy() argument 1721 pt_event_init(struct perf_event *event) pt_event_init() argument 1750 is_intel_pt_event(struct perf_event *event) is_intel_pt_event() argument [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/gestures/recognizers/ |
H A D | click_recognizer.cpp | 49 bool ClickRecognizer::IsPointInRegion(const TouchEvent& event) in IsPointInRegion() argument 52 Offset offset = event.GetScreenOffset() - touchPoints_[event.id].GetScreenOffset(); in IsPointInRegion() 62 PointF localPoint(event.x, event.y); in IsPointInRegion() 67 NGGestureRecognizer::Transform(localPoint, frameNode, false, isPostEventResult_, event.postEventNodeId); in IsPointInRegion() 74 "InputTracking id:%{public}d, this MOVE/UP event is out of region, try to reject click gesture", in IsPointInRegion() 75 event.touchEventId); in IsPointInRegion() 203 void ClickRecognizer::HandleTouchDownEvent(const TouchEvent& event) in HandleTouchDownEvent() argument 207 event in HandleTouchDownEvent() 233 UpdateInfoWithDownEvent(const TouchEvent& event) UpdateInfoWithDownEvent() argument 270 IsFormRenderClickRejected(const TouchEvent& event) IsFormRenderClickRejected() argument 283 TriggerClickAccepted(const TouchEvent& event) TriggerClickAccepted() argument 300 HandleTouchUpEvent(const TouchEvent& event) HandleTouchUpEvent() argument 350 HandleTouchMoveEvent(const TouchEvent& event) HandleTouchMoveEvent() argument 373 HandleTouchCancelEvent(const TouchEvent& event) HandleTouchCancelEvent() argument [all...] |
/kernel/linux/linux-6.6/arch/x86/events/amd/ |
H A D | uncore.c | 62 static bool is_nb_event(struct perf_event *event) in is_nb_event() argument 64 return event->pmu->type == amd_nb_pmu.type; in is_nb_event() 67 static bool is_llc_event(struct perf_event *event) in is_llc_event() argument 69 return event->pmu->type == amd_llc_pmu.type; in is_llc_event() 72 static struct amd_uncore *event_to_amd_uncore(struct perf_event *event) in event_to_amd_uncore() argument 74 if (is_nb_event(event) && amd_uncore_nb) in event_to_amd_uncore() 75 return *per_cpu_ptr(amd_uncore_nb, event->cpu); in event_to_amd_uncore() 76 else if (is_llc_event(event) && amd_uncore_llc) in event_to_amd_uncore() 77 return *per_cpu_ptr(amd_uncore_llc, event->cpu); in event_to_amd_uncore() 82 static void amd_uncore_read(struct perf_event *event) in amd_uncore_read() argument 101 amd_uncore_start(struct perf_event *event, int flags) amd_uncore_start() argument 113 amd_uncore_stop(struct perf_event *event, int flags) amd_uncore_stop() argument 126 amd_uncore_add(struct perf_event *event, int flags) amd_uncore_add() argument 177 amd_uncore_del(struct perf_event *event, int flags) amd_uncore_del() argument 218 amd_uncore_event_init(struct perf_event *event) amd_uncore_event_init() argument [all...] |
/kernel/linux/linux-6.6/drivers/perf/ |
H A D | marvell_cn10k_ddr_pmu.c | 36 /* 8 Generic event counter + 2 fixed event counters */ 44 /* Generic event counter registers */ 48 /* Two dedicated event counters for DDR reads and writes */ 53 * programmable events IDs in programmable event counters. 54 * DO NOT change these event-id numbers, they are used to 55 * program event bitmap in h/w. 108 /* Fixed event counter enable/disable register */ 113 /* Fixed event counter control register */ 118 /* Fixed event counte 289 cn10k_ddr_perf_alloc_counter(struct cn10k_ddr_pmu *pmu, struct perf_event *event) cn10k_ddr_perf_alloc_counter() argument 323 cn10k_ddr_perf_event_init(struct perf_event *event) cn10k_ddr_perf_event_init() argument 406 cn10k_ddr_perf_event_update(struct perf_event *event) cn10k_ddr_perf_event_update() argument 422 cn10k_ddr_perf_event_start(struct perf_event *event, int flags) cn10k_ddr_perf_event_start() argument 435 cn10k_ddr_perf_event_add(struct perf_event *event, int flags) cn10k_ddr_perf_event_add() argument 481 cn10k_ddr_perf_event_stop(struct perf_event *event, int flags) cn10k_ddr_perf_event_stop() argument 495 cn10k_ddr_perf_event_del(struct perf_event *event, int flags) cn10k_ddr_perf_event_del() argument 552 struct perf_event *event; cn10k_ddr_pmu_overflow_handler() local [all...] |
/kernel/linux/linux-6.6/drivers/hwtracing/coresight/ |
H A D | coresight-etm-perf.c | 32 * An ETM context for a running event includes the perf aux handle 34 * the trace path and the sink configuration. The event data is accessible 41 * until "free_aux()", which cannot happen as long as the event is active on 149 static void etm_event_read(struct perf_event *event) {} in etm_event_read() argument 151 static int etm_addr_filters_alloc(struct perf_event *event) in etm_addr_filters_alloc() argument 154 int node = event->cpu == -1 ? -1 : cpu_to_node(event->cpu); in etm_addr_filters_alloc() 160 if (event->parent) in etm_addr_filters_alloc() 161 memcpy(filters, event->parent->hw.addr_filters, in etm_addr_filters_alloc() 164 event in etm_addr_filters_alloc() 169 etm_event_destroy(struct perf_event *event) etm_event_destroy() argument 175 etm_event_init(struct perf_event *event) etm_event_init() argument 304 etm_setup_aux(struct perf_event *event, void **pages, int nr_pages, bool overwrite) etm_setup_aux() argument 445 etm_event_start(struct perf_event *event, int flags) etm_event_start() argument 536 etm_event_stop(struct perf_event *event, int mode) etm_event_stop() argument 632 etm_event_add(struct perf_event *event, int mode) etm_event_add() argument 648 etm_event_del(struct perf_event *event, int mode) etm_event_del() argument 692 etm_addr_filters_sync(struct perf_event *event) etm_addr_filters_sync() argument [all...] |
/foundation/barrierfree/accessibility/services/aams/test/mock/src/ |
H A D | mock_accessibility_keyevent_filter.cpp | 29 bool KeyEventFilter::OnKeyEvent(MMI::KeyEvent& event) in OnKeyEvent() argument 31 (void)event; in OnKeyEvent() 48 void KeyEventFilter::DispatchKeyEvent(MMI::KeyEvent& event) in DispatchKeyEvent() argument 50 (void)event; in DispatchKeyEvent() 54 bool KeyEventFilter::RemoveProcessingEvent(std::shared_ptr<ProcessingEvent> event) in RemoveProcessingEvent() argument 56 (void)event; in RemoveProcessingEvent() 71 void KeyEventFilter::SendEventToNext(MMI::KeyEvent& event) in SendEventToNext() argument 73 (void)event; in SendEventToNext() 85 void KeyEventFilterEventHandler::ProcessEvent(const AppExecFwk::InnerEvent::Pointer& event) in ProcessEvent() argument 87 (void)event; in ProcessEvent() [all...] |
/foundation/barrierfree/accessibility/services/test/moduletest/mock/src/ |
H A D | mock_mt_accessibility_keyevent_filter.cpp | 29 bool MockKeyEventFilter::OnKeyEvent(MMI::KeyEvent& event) in OnKeyEvent() argument 31 (void)event; in OnKeyEvent() 48 void MockKeyEventFilter::DispatchKeyEvent(MMI::KeyEvent& event) in DispatchKeyEvent() argument 50 (void)event; in DispatchKeyEvent() 54 bool MockKeyEventFilter::RemoveProcessingEvent(std::shared_ptr<ProcessingEvent> event) in RemoveProcessingEvent() argument 56 (void)event; in RemoveProcessingEvent() 71 void MockKeyEventFilter::SendEventToNext(MMI::KeyEvent& event) in SendEventToNext() argument 73 (void)event; in SendEventToNext() 85 void MockKeyEventFilterEventHandler::ProcessEvent(const AppExecFwk::InnerEvent::Pointer& event) in ProcessEvent() argument 87 (void)event; in ProcessEvent() [all...] |
/kernel/linux/linux-5.10/tools/lib/traceevent/plugins/ |
H A D | plugin_hrtimer.c | 10 #include "event-parse.h" 15 struct tep_event *event, void *context) in timer_expire_handler() 19 if (tep_print_num_field(s, "0x%llx", event, "timer", in timer_expire_handler() 21 tep_print_num_field(s, "0x%llx", event, "hrtimer", in timer_expire_handler() 26 tep_print_num_field(s, "%llu", event, "now", record, 1); in timer_expire_handler() 28 tep_print_func_field(s, " function=%s", event, "function", in timer_expire_handler() 35 struct tep_event *event, void *context) in timer_start_handler() 39 if (tep_print_num_field(s, "0x%llx", event, "timer", in timer_start_handler() 41 tep_print_num_field(s, "0x%llx", event, "hrtimer", in timer_start_handler() 44 tep_print_func_field(s, " function=%s", event, "functio in timer_start_handler() 13 timer_expire_handler(struct trace_seq *s, struct tep_record *record, struct tep_event *event, void *context) timer_expire_handler() argument 33 timer_start_handler(struct trace_seq *s, struct tep_record *record, struct tep_event *event, void *context) timer_start_handler() argument [all...] |
H A D | plugin_sched_switch.c | 9 #include "event-parse.h" 50 tep_register_comm(field->event->tep, comm, pid); in write_and_save_comm() 55 struct tep_event *event, void *context) in sched_wakeup_handler() 60 if (tep_get_field_val(s, event, "pid", record, &val, 1)) in sched_wakeup_handler() 63 field = tep_find_any_field(event, "comm"); in sched_wakeup_handler() 70 if (tep_get_field_val(s, event, "prio", record, &val, 0) == 0) in sched_wakeup_handler() 73 if (tep_get_field_val(s, event, "success", record, &val, 1) == 0) in sched_wakeup_handler() 76 if (tep_get_field_val(s, event, "target_cpu", record, &val, 0) == 0) in sched_wakeup_handler() 84 struct tep_event *event, void *context) in sched_switch_handler() 89 if (tep_get_field_val(s, event, "prev_pi in sched_switch_handler() 53 sched_wakeup_handler(struct trace_seq *s, struct tep_record *record, struct tep_event *event, void *context) sched_wakeup_handler() argument 82 sched_switch_handler(struct trace_seq *s, struct tep_record *record, struct tep_event *event, void *context) sched_switch_handler() argument [all...] |
/kernel/linux/linux-5.10/tools/perf/python/ |
H A D | tracepoint.py | 30 event = evlist.read_on_cpu(cpu) 31 if not event: 34 if not isinstance(event, perf.sample_event): 38 event.sample_time, 39 event.prev_comm, 40 event.prev_pid, 41 event.prev_prio, 42 event.prev_state, 43 event.next_comm, 44 event [all...] |
/kernel/linux/linux-6.6/tools/perf/python/ |
H A D | tracepoint.py | 30 event = evlist.read_on_cpu(cpu) 31 if not event: 34 if not isinstance(event, perf.sample_event): 38 event.sample_time, 39 event.prev_comm, 40 event.prev_pid, 41 event.prev_prio, 42 event.prev_state, 43 event.next_comm, 44 event [all...] |
/test/testfwk/arkxtest/uitest/record/ |
H A D | velocity_tracker.cpp | 24 void VelocityTracker::UpdateTouchEvent(const TouchEventInfo& event, bool end) in UpdateTouchEvent() argument 28 firstPosition_ = event.GetPoint(); in UpdateTouchEvent() 31 delta_ = Offset(lastPosition_, event.GetPoint()); in UpdateTouchEvent() 33 std::chrono::duration<double> diffTime = event.GetActionTimeStamp() - lastTimePoint_; in UpdateTouchEvent() 34 lastTimePoint_ = event.GetActionTimeStamp(); in UpdateTouchEvent() 35 lastPosition_ = event.GetPoint(); in UpdateTouchEvent() 36 lastTrackPoint_ = event; in UpdateTouchEvent() 42 xAxis_.UpdatePoint(event.durationSeconds, event.wx); in UpdateTouchEvent() 43 yAxis_.UpdatePoint(event in UpdateTouchEvent() [all...] |
/kernel/linux/linux-5.10/arch/s390/kernel/ |
H A D | perf_cpum_sf.c | 3 * Performance event support for the System z CPU-measurement Sampling Facility 94 struct perf_event *event; /* Scheduled perf event */ member 413 * that the sampling facility is enabled too. If the event to be in allocate_buffers() 418 * before the event is started. in allocate_buffers() 493 * @hwc: Perf event hardware structure 496 * and postponed allocation extents stored in the specified Perf event hardware. 603 static void hw_perf_event_destroy(struct perf_event *event) in hw_perf_event_destroy() argument 605 /* Release PMC if this is the last perf event */ in hw_perf_event_destroy() 628 static u32 cpumsf_pid_type(struct perf_event *event, in cpumsf_pid_type() argument 658 cpumsf_output_event_pid(struct perf_event *event, struct perf_sample_data *data, struct pt_regs *regs) cpumsf_output_event_pid() argument 738 __hw_perf_event_init_rate(struct perf_event *event, struct hws_qsi_info_block *si) __hw_perf_event_init_rate() argument 765 __hw_perf_event_init(struct perf_event *event) __hw_perf_event_init() argument 885 is_callchain_event(struct perf_event *event) is_callchain_event() argument 893 cpumsf_pmu_event_init(struct perf_event *event) cpumsf_pmu_event_init() argument 1054 perf_exclude_event(struct perf_event *event, struct pt_regs *regs, struct perf_sf_sde_regs *sde_regs) perf_exclude_event() argument 1079 perf_push_sample(struct perf_event *event, struct hws_basic_entry *basic) perf_push_sample() argument 1148 perf_event_count_update(struct perf_event *event, u64 count) perf_event_count_update() argument 1173 hw_collect_samples(struct perf_event *event, unsigned long *sdbt, unsigned long long *overflow) hw_collect_samples() argument 1255 hw_perf_event_update(struct perf_event *event, int flush_all) hw_perf_event_update() argument 1725 aux_buffer_setup(struct perf_event *event, void **pages, int nr_pages, bool snapshot) aux_buffer_setup() argument 1823 cpumsf_pmu_read(struct perf_event *event) cpumsf_pmu_read() argument 1832 cpumsf_pmu_check_period(struct perf_event *event, u64 value) cpumsf_pmu_check_period() argument 1869 cpumsf_pmu_start(struct perf_event *event, int flags) cpumsf_pmu_start() argument 1890 cpumsf_pmu_stop(struct perf_event *event, int flags) cpumsf_pmu_stop() argument 1909 cpumsf_pmu_add(struct perf_event *event, int flags) cpumsf_pmu_add() argument 1971 cpumsf_pmu_del(struct perf_event *event, int flags) cpumsf_pmu_del() argument [all...] |
/foundation/ability/dmsfwk/services/dtbschedmgr/src/continue/state/sink_state/ |
H A D | dsched_continue_data_state.cpp | 40 const AppExecFwk::InnerEvent::Pointer &event) in Execute() 42 if (event == nullptr) { in Execute() 43 HILOGE("event is null"); in Execute() 46 auto iterFunc = memberFuncMap_.find(event->GetInnerEventId()); in Execute() 48 HILOGE("DSchedContinueDataState execute %{public}d in wrong state", event->GetInnerEventId()); in Execute() 53 int32_t ret = (this->*memberFunc)(dContinue, event); in Execute() 55 HILOGI("DSchedContinueDataState execute %{public}d failed, ret: %{public}d", event->GetInnerEventId(), ret); in Execute() 66 const AppExecFwk::InnerEvent::Pointer &event) in DoContinueDataTask() 68 if (dContinue == nullptr || event == nullptr) { in DoContinueDataTask() 69 HILOGE("dContinue or event i in DoContinueDataTask() 39 Execute(std::shared_ptr<DSchedContinue> dContinue, const AppExecFwk::InnerEvent::Pointer &event) Execute() argument 65 DoContinueDataTask(std::shared_ptr<DSchedContinue> dContinue, const AppExecFwk::InnerEvent::Pointer &event) DoContinueDataTask() argument 80 DoContinueErrorTask(std::shared_ptr<DSchedContinue> dContinue, const AppExecFwk::InnerEvent::Pointer &event) DoContinueErrorTask() argument 95 DoContinueEndTask(std::shared_ptr<DSchedContinue> dContinue, const AppExecFwk::InnerEvent::Pointer &event) DoContinueEndTask() argument [all...] |
/foundation/ability/dmsfwk/services/dtbschedmgr/src/continue/state/source_state/ |
H A D | dsched_continue_ability_state.cpp | 40 const AppExecFwk::InnerEvent::Pointer &event) in Execute() 42 if (event == nullptr) { in Execute() 43 HILOGE("event is null"); in Execute() 46 auto iterFunc = memberFuncMap_.find(event->GetInnerEventId()); in Execute() 48 HILOGI("DSchedContinueAbilityState execute %{public}d in wrong state", event->GetInnerEventId()); in Execute() 53 int32_t ret = (this->*memberFunc)(dContinue, event); in Execute() 56 event->GetInnerEventId(), ret); in Execute() 67 const AppExecFwk::InnerEvent::Pointer &event) in DoContinueSendTask() 69 if (dContinue == nullptr || event == nullptr) { in DoContinueSendTask() 70 HILOGE("dContinue or event i in DoContinueSendTask() 39 Execute(std::shared_ptr<DSchedContinue> dContinue, const AppExecFwk::InnerEvent::Pointer &event) Execute() argument 66 DoContinueSendTask(std::shared_ptr<DSchedContinue> dContinue, const AppExecFwk::InnerEvent::Pointer &event) DoContinueSendTask() argument 81 DoContinueErrorTask(std::shared_ptr<DSchedContinue> dContinue, const AppExecFwk::InnerEvent::Pointer &event) DoContinueErrorTask() argument 96 DoContinueEndTask(std::shared_ptr<DSchedContinue> dContinue, const AppExecFwk::InnerEvent::Pointer &event) DoContinueEndTask() argument [all...] |
/kernel/linux/linux-5.10/drivers/acpi/ |
H A D | event.c | 3 * event.c - exporting ACPI events via procfs 27 struct acpi_bus_event event; in acpi_notifier_call_chain() local 29 strcpy(event.device_class, dev->pnp.device_class); in acpi_notifier_call_chain() 30 strcpy(event.bus_id, dev->pnp.bus_id); in acpi_notifier_call_chain() 31 event.type = type; in acpi_notifier_call_chain() 32 event.data = data; in acpi_notifier_call_chain() 33 return (blocking_notifier_call_chain(&acpi_chain_head, 0, (void *)&event) in acpi_notifier_call_chain() 62 ACPI_GENL_ATTR_EVENT, /* ACPI event info needed by user space */ 98 struct acpi_genl_event *event; in acpi_bus_generate_netlink_event() local 128 event in acpi_bus_generate_netlink_event() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/pmu/ |
H A D | event.c | 13 #include "event.h" 23 void event_init_opts(struct event *e, u64 config, int type, char *name) in event_init_opts() 37 void event_init_named(struct event *e, u64 config, char *name) in event_init_named() 42 void event_init(struct event *e, u64 config) in event_init() 44 event_init_opts(e, config, PERF_TYPE_RAW, "event"); in event_init() 52 int event_open_with_options(struct event *e, pid_t pid, int cpu, int group_fd) in event_open_with_options() 63 int event_open_with_group(struct event *e, int group_fd) in event_open_with_group() 68 int event_open_with_pid(struct event *e, pid_t pid) in event_open_with_pid() 73 int event_open_with_cpu(struct event *e, int cpu) in event_open_with_cpu() 78 int event_open(struct event * [all...] |
/kernel/linux/linux-5.10/kernel/ |
H A D | watchdog_hld.c | 109 /* Callback function for perf event subsystem */ 110 static void watchdog_overflow_callback(struct perf_event *event, in watchdog_overflow_callback() argument 115 event->hw.interrupts = 0; in watchdog_overflow_callback() 179 pr_debug("Perf event create on CPU %d failed with %ld\n", cpu, in hardlockup_detector_event_create() 188 * hardlockup_detector_perf_enable - Enable the local event 203 * hardlockup_detector_perf_disable - Disable the local event 207 struct perf_event *event = this_cpu_read(watchdog_ev); in hardlockup_detector_perf_disable() local 209 if (event) { in hardlockup_detector_perf_disable() 210 perf_event_disable(event); in hardlockup_detector_perf_disable() 212 this_cpu_write(dead_event, event); in hardlockup_detector_perf_disable() 228 struct perf_event *event = per_cpu(dead_event, cpu); hardlockup_detector_perf_cleanup() local 253 struct perf_event *event = per_cpu(watchdog_ev, cpu); hardlockup_detector_perf_stop() local 275 struct perf_event *event = per_cpu(watchdog_ev, cpu); hardlockup_detector_perf_restart() local [all...] |
/kernel/linux/linux-6.6/drivers/acpi/ |
H A D | event.c | 3 * event.c - exporting ACPI events via procfs 29 struct acpi_bus_event event; in acpi_notifier_call_chain() local 31 strcpy(event.device_class, dev->pnp.device_class); in acpi_notifier_call_chain() 32 strcpy(event.bus_id, dev->pnp.bus_id); in acpi_notifier_call_chain() 33 event.type = type; in acpi_notifier_call_chain() 34 event.data = data; in acpi_notifier_call_chain() 35 return (blocking_notifier_call_chain(&acpi_chain_head, 0, (void *)&event) in acpi_notifier_call_chain() 64 ACPI_GENL_ATTR_EVENT, /* ACPI event info needed by user space */ 100 struct acpi_genl_event *event; in acpi_bus_generate_netlink_event() local 130 event in acpi_bus_generate_netlink_event() [all...] |
/kernel/linux/linux-6.6/kernel/ |
H A D | watchdog_perf.c | 93 /* Callback function for perf event subsystem */ 94 static void watchdog_overflow_callback(struct perf_event *event, in watchdog_overflow_callback() argument 99 event->hw.interrupts = 0; in watchdog_overflow_callback() 126 pr_debug("Perf event create on CPU %d failed with %ld\n", cpu, in hardlockup_detector_event_create() 135 * watchdog_hardlockup_enable - Enable the local event 154 * watchdog_hardlockup_disable - Disable the local event 160 struct perf_event *event = this_cpu_read(watchdog_ev); in watchdog_hardlockup_disable() local 164 if (event) { in watchdog_hardlockup_disable() 165 perf_event_disable(event); in watchdog_hardlockup_disable() 167 this_cpu_write(dead_event, event); in watchdog_hardlockup_disable() 183 struct perf_event *event = per_cpu(dead_event, cpu); hardlockup_detector_perf_cleanup() local 208 struct perf_event *event = per_cpu(watchdog_ev, cpu); hardlockup_detector_perf_stop() local 230 struct perf_event *event = per_cpu(watchdog_ev, cpu); hardlockup_detector_perf_restart() local [all...] |
/third_party/ltp/testcases/kernel/security/integrity/ima/src/ |
H A D | ima_boot_aggregate.c | 46 } event; variable 76 event.data = malloc(MAX_EVENT_DATA_SIZE); in do_test() 77 if (!event.data) in do_test() 80 /* Extend the pseudo PCRs with the event digest */ in do_test() 81 while (fread(&event, sizeof(event.header), 1, fp)) { in do_test() 83 printf("%03u ", event.header.pcr); in do_test() 84 display_sha1_digest(event.header.digest); in do_test() 87 if (event.header.pcr < NUM_PCRS) { in do_test() 89 SHA1_Update(&c, pcr[event in do_test() [all...] |