/Linux-v5.10/arch/powerpc/perf/ |
D | power7-events-list.h | 8 EVENT(PM_IC_DEMAND_L2_BR_ALL, 0x04898) 9 EVENT(PM_GCT_UTIL_7_TO_10_SLOTS, 0x020a0) 10 EVENT(PM_PMC2_SAVED, 0x10022) 11 EVENT(PM_CMPLU_STALL_DFU, 0x2003c) 12 EVENT(PM_VSU0_16FLOP, 0x0a0a4) 13 EVENT(PM_MRK_LSU_DERAT_MISS, 0x3d05a) 14 EVENT(PM_MRK_ST_CMPL, 0x10034) 15 EVENT(PM_NEST_PAIR3_ADD, 0x40881) 16 EVENT(PM_L2_ST_DISP, 0x46180) 17 EVENT(PM_L2_CASTOUT_MOD, 0x16180) [all …]
|
D | power9-events-list.h | 9 * Power9 event codes. 11 EVENT(PM_CYC, 0x0001e) 12 EVENT(PM_ICT_NOSLOT_CYC, 0x100f8) 13 EVENT(PM_CMPLU_STALL, 0x1e054) 14 EVENT(PM_INST_CMPL, 0x00002) 15 EVENT(PM_BR_CMPL, 0x4d05e) 16 EVENT(PM_BR_MPRED_CMPL, 0x400f6) 19 EVENT(PM_LD_REF_L1, 0x100fc) 21 EVENT(PM_LD_MISS_L1_FIN, 0x2c04e) 22 EVENT(PM_LD_MISS_L1, 0x3e054) [all …]
|
D | power8-events-list.h | 9 * Power8 event codes. 11 EVENT(PM_CYC, 0x0001e) 12 EVENT(PM_GCT_NOSLOT_CYC, 0x100f8) 13 EVENT(PM_CMPLU_STALL, 0x4000a) 14 EVENT(PM_INST_CMPL, 0x00002) 15 EVENT(PM_BRU_FIN, 0x10068) 16 EVENT(PM_BR_MPRED_CMPL, 0x400f6) 19 EVENT(PM_LD_REF_L1, 0x100ee) 21 EVENT(PM_LD_MISS_L1, 0x3e054) 23 EVENT(PM_ST_MISS_L1, 0x300f0) [all …]
|
D | core-fsl-emb.c | 3 * Performance event support - Freescale Embedded Performance Monitor 23 struct perf_event *event[MAX_HWEVENTS]; member 175 static void fsl_emb_pmu_read(struct perf_event *event) in fsl_emb_pmu_read() argument 179 if (event->hw.state & PERF_HES_STOPPED) in fsl_emb_pmu_read() 188 prev = local64_read(&event->hw.prev_count); in fsl_emb_pmu_read() 190 val = read_pmc(event->hw.idx); in fsl_emb_pmu_read() 191 } while (local64_cmpxchg(&event->hw.prev_count, prev, val) != prev); in fsl_emb_pmu_read() 195 local64_add(delta, &event->count); in fsl_emb_pmu_read() 196 local64_sub(delta, &event->hw.period_left); in fsl_emb_pmu_read() 268 struct perf_event *event; in collect_events() local [all …]
|
D | power10-events-list.h | 10 * Power10 event codes. 12 EVENT(PM_RUN_CYC, 0x600f4); 13 EVENT(PM_DISP_STALL_CYC, 0x100f8); 14 EVENT(PM_EXEC_STALL, 0x30008); 15 EVENT(PM_RUN_INST_CMPL, 0x500fa); 16 EVENT(PM_BR_CMPL, 0x4d05e); 17 EVENT(PM_BR_MPRED_CMPL, 0x400f6); 20 EVENT(PM_LD_REF_L1, 0x100fc); 22 EVENT(PM_LD_MISS_L1, 0x3e054); 24 EVENT(PM_ST_MISS_L1, 0x300f0); [all …]
|
/Linux-v5.10/tools/perf/pmu-events/arch/x86/cascadelakex/ |
D | cache.json | 3 …"BriefDescription": "This event is deprecated. Refer to new event OCR.OTHER.SUPPLIER_NONE.HIT_OTHE… 12 …se can be programmed only with a specific pair of event select and counter MSR, and with specific … 17 …"BriefDescription": "This event is deprecated. Refer to new event OCR.DEMAND_RFO.PMM_HIT_LOCAL_PMM… 26 …se can be programmed only with a specific pair of event select and counter MSR, and with specific … 31 …"BriefDescription": "This event is deprecated. Refer to new event OCR.DEMAND_CODE_RD.L3_HIT.SNOOP_… 40 …se can be programmed only with a specific pair of event select and counter MSR, and with specific … 45 …"BriefDescription": "This event is deprecated. Refer to new event OCR.ALL_DATA_RD.L3_HIT_F.ANY_SNO… 54 …se can be programmed only with a specific pair of event select and counter MSR, and with specific … 69 …"BriefDescription": "This event is deprecated. Refer to new event OCR.ALL_DATA_RD.L3_HIT_M.ANY_SNO… 78 …se can be programmed only with a specific pair of event select and counter MSR, and with specific … [all …]
|
D | memory.json | 11 …se can be programmed only with a specific pair of event select and counter MSR, and with specific … 24 …se can be programmed only with a specific pair of event select and counter MSR, and with specific … 37 …se can be programmed only with a specific pair of event select and counter MSR, and with specific … 42 …"BriefDescription": "This event is deprecated. Refer to new event OCR.ALL_PF_DATA_RD.L3_MISS.SNOOP… 51 …se can be programmed only with a specific pair of event select and counter MSR, and with specific … 56 …"BriefDescription": "This event is deprecated. Refer to new event OCR.PF_L2_RFO.L3_MISS_REMOTE_HOP… 65 …se can be programmed only with a specific pair of event select and counter MSR, and with specific … 70 …"BriefDescription": "This event is deprecated. Refer to new event OCR.PF_L3_RFO.L3_MISS.NO_SNOOP_N… 79 …se can be programmed only with a specific pair of event select and counter MSR, and with specific … 92 …se can be programmed only with a specific pair of event select and counter MSR, and with specific … [all …]
|
/Linux-v5.10/Documentation/ABI/testing/ |
D | sysfs-bus-event_source-devices-dfl_fme | 13 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). 37 a single performance monitoring event supported by this fme pmu. 38 The name of the file is the name of the event. 45 clock = "event=0x00,evtype=0x00,portid=0xff" 49 cache_read_hit = "event=0x00,evtype=0x01,portid=0xff" [all …]
|
/Linux-v5.10/kernel/events/ |
D | core.c | 177 static bool is_kernel_event(struct perf_event *event) in is_kernel_event() argument 179 return READ_ONCE(event->owner) == TASK_TOMBSTONE; in is_kernel_event() 191 * - removing the last event from a task ctx; this is relatively straight 194 * - adding the first event to a task ctx; this is tricky because we cannot 205 struct perf_event *event; member 213 struct perf_event *event = efs->event; in event_function() local 214 struct perf_event_context *ctx = event->ctx; in event_function() 249 efs->func(event, cpuctx, ctx, efs->data); in event_function() 256 static void event_function_call(struct perf_event *event, event_f func, void *data) in event_function_call() argument 258 struct perf_event_context *ctx = event->ctx; in event_function_call() [all …]
|
/Linux-v5.10/tools/perf/util/ |
D | session.c | 39 union perf_event *event, u64 file_offset) in perf_session__process_compressed_event() argument 69 src = (void *)event + sizeof(struct perf_record_compressed); in perf_session__process_compressed_event() 70 src_size = event->pack.header.size - sizeof(struct perf_record_compressed); in perf_session__process_compressed_event() 99 union perf_event *event, 177 struct ordered_event *event) in ordered_events__deliver_event() argument 182 return perf_session__deliver_event(session, event->event, in ordered_events__deliver_event() 183 session->tool, event->file_offset); in ordered_events__deliver_event() 247 * kernel MMAP event, in perf_event__process_mmap(). in perf_session__new() 309 union perf_event *event in process_event_synth_tracing_data_stub() 317 union perf_event *event __maybe_unused, in process_event_synth_attr_stub() [all …]
|
D | event.c | 15 #include "event.h" 33 #include "bpf-event.h" 124 struct perf_record_stat_config *event) in perf_event__read_stat_config() argument 128 for (i = 0; i < event->nr; i++) { in perf_event__read_stat_config() 130 switch (event->data[i].tag) { in perf_event__read_stat_config() 133 config->__val = event->data[i].val; \ in perf_event__read_stat_config() 142 event->data[i].tag); in perf_event__read_stat_config() 147 size_t perf_event__fprintf_comm(union perf_event *event, FILE *fp) in perf_event__fprintf_comm() argument 151 if (event->header.misc & PERF_RECORD_MISC_COMM_EXEC) in perf_event__fprintf_comm() 156 return fprintf(fp, "%s: %s:%d/%d\n", s, event->comm.comm, event->comm.pid, event->comm.tid); in perf_event__fprintf_comm() [all …]
|
/Linux-v5.10/tools/testing/selftests/powerpc/pmu/ebb/ |
D | event_attributes_test.c | 13 * Test various attributes of the EBB event are enforced. 17 struct event event, leader; in event_attributes() local 21 event_init(&event, 0x1001e); in event_attributes() 22 event_leader_ebb_init(&event); in event_attributes() 24 FAIL_IF(event_open(&event)); in event_attributes() 25 event_close(&event); in event_attributes() 28 event_init(&event, 0x001e); /* CYCLES - no PMC specified */ in event_attributes() 29 event_leader_ebb_init(&event); in event_attributes() 31 FAIL_IF(event_open(&event) == 0); in event_attributes() 34 event_init(&event, 0x2001e); in event_attributes() [all …]
|
/Linux-v5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | fweh.c | 19 * struct brcmf_fweh_queue_item - event item on event queue. 22 * @code: event code. 23 * @ifidx: interface index related to this event. 25 * @emsg: common parameters of the firmware event message. 27 * @data: event specific data part of the firmware event. 51 /* array for mapping code to event name */ 58 * brcmf_fweh_event_name() - returns name for given event code. 79 * brcmf_fweh_queue_event() - create and queue event. 81 * @fweh: firmware event handling info. 82 * @event: event queue entry. [all …]
|
/Linux-v5.10/net/sctp/ |
D | ulpevent.c | 10 * These functions manipulate an sctp event. The struct ulpevent is used 31 static void sctp_ulpevent_receive_data(struct sctp_ulpevent *event, 33 static void sctp_ulpevent_release_data(struct sctp_ulpevent *event); 34 static void sctp_ulpevent_release_frag_data(struct sctp_ulpevent *event); 37 /* Initialize an ULP event from an given skb. */ 38 static void sctp_ulpevent_init(struct sctp_ulpevent *event, in sctp_ulpevent_init() argument 42 memset(event, 0, sizeof(struct sctp_ulpevent)); in sctp_ulpevent_init() 43 event->msg_flags = msg_flags; in sctp_ulpevent_init() 44 event->rmem_len = len; in sctp_ulpevent_init() 51 struct sctp_ulpevent *event; in sctp_ulpevent_new() local [all …]
|
D | stream_interleave.c | 125 struct sctp_ulpevent *event) in sctp_intl_store_reasm() argument 132 __skb_queue_tail(&ulpq->reasm, sctp_event2skb(event)); in sctp_intl_store_reasm() 138 if (event->stream == cevent->stream && in sctp_intl_store_reasm() 139 event->mid == cevent->mid && in sctp_intl_store_reasm() 141 (!(event->msg_flags & SCTP_DATA_FIRST_FRAG) && in sctp_intl_store_reasm() 142 event->fsn > cevent->fsn))) { in sctp_intl_store_reasm() 143 __skb_queue_tail(&ulpq->reasm, sctp_event2skb(event)); in sctp_intl_store_reasm() 147 if ((event->stream == cevent->stream && in sctp_intl_store_reasm() 148 MID_lt(cevent->mid, event->mid)) || in sctp_intl_store_reasm() 149 event->stream > cevent->stream) { in sctp_intl_store_reasm() [all …]
|
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/core/ |
D | event.c | 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 22 #include <core/event.h> 26 nvkm_event_put(struct nvkm_event *event, u32 types, int index) in nvkm_event_put() argument 28 assert_spin_locked(&event->refs_lock); in nvkm_event_put() 31 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() 39 nvkm_event_get(struct nvkm_event *event, u32 types, int index) in nvkm_event_get() argument 41 assert_spin_locked(&event->refs_lock); in nvkm_event_get() 44 if (++event->refs[index * event->types_nr + type] == 1) { in nvkm_event_get() [all …]
|
D | notify.c | 16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 25 #include <core/event.h> 31 nvkm_event_put(notify->event, notify->types, notify->index); in nvkm_notify_put_locked() 37 struct nvkm_event *event = notify->event; in nvkm_notify_put() local 39 if (likely(event) && in nvkm_notify_put() 41 spin_lock_irqsave(&event->refs_lock, flags); in nvkm_notify_put() 43 spin_unlock_irqrestore(&event->refs_lock, flags); in nvkm_notify_put() 53 nvkm_event_get(notify->event, notify->types, notify->index); in nvkm_notify_get_locked() 59 struct nvkm_event *event = notify->event; in nvkm_notify_get() local 61 if (likely(event) && in nvkm_notify_get() [all …]
|
/Linux-v5.10/drivers/net/wireless/marvell/mwifiex/ |
D | uap_event.c | 2 * NXP Wireless LAN device driver: AP event handling 27 struct sk_buff *event) in mwifiex_check_uap_capabilities() argument 37 skb_pull(event, MWIFIEX_BSS_START_EVT_FIX_SIZE); in mwifiex_check_uap_capabilities() 38 evt_len = event->len; in mwifiex_check_uap_capabilities() 39 curr = event->data; in mwifiex_check_uap_capabilities() 42 event->data, event->len); in mwifiex_check_uap_capabilities() 44 skb_push(event, MWIFIEX_BSS_START_EVT_FIX_SIZE); in mwifiex_check_uap_capabilities() 70 mwifiex_dbg(priv->adapter, EVENT, in mwifiex_check_uap_capabilities() 94 * Event specific routines are called by this function based 95 * upon the generated event cause. [all …]
|
D | sta_event.c | 2 * NXP Wireless LAN device driver: station event handling 32 struct sk_buff *event) in mwifiex_check_ibss_peer_capabilities() argument 41 skb_pull(event, MWIFIEX_IBSS_CONNECT_EVT_FIX_SIZE); in mwifiex_check_ibss_peer_capabilities() 42 evt_len = event->len; in mwifiex_check_ibss_peer_capabilities() 43 curr = event->data; in mwifiex_check_ibss_peer_capabilities() 46 event->data, event->len); in mwifiex_check_ibss_peer_capabilities() 48 skb_push(event, MWIFIEX_IBSS_CONNECT_EVT_FIX_SIZE); in mwifiex_check_ibss_peer_capabilities() 124 * The function is invoked after receiving a disconnect event from firmware, 134 * - Sends a disconnect event to upper layers/applications. 145 "info: handles disconnect event\n"); in mwifiex_reset_connect_state() [all …]
|
/Linux-v5.10/tools/perf/pmu-events/arch/x86/amdzen1/ |
D | floating-point.json | 6 …event reflects how busy the FPU pipelines are and may be used for workload characterization. This … 13 …event reflects how busy the FPU pipelines are and may be used for workload characterization. This … 20 …event reflects how busy the FPU pipelines are and may be used for workload characterization. This … 27 …event reflects how busy the FPU pipelines are and may be used for workload characterization. This … 34 …event reflects how busy the FPU pipelines are and may be used for workload characterization. This … 41 …event reflects how busy the FPU pipelines are and may be used for workload characterization. This … 48 …event reflects how busy the FPU pipelines are and may be used for workload characterization. This … 55 …event reflects how busy the FPU pipelines are and may be used for workload characterization. This … 62 …event reflects how busy the FPU pipelines are and may be used for workload characterization. This … 69 …event reflects how busy the FPU pipelines are and may be used for workload characterization. This … [all …]
|
/Linux-v5.10/arch/powerpc/kernel/ |
D | eeh_event.c | 21 * This pair of routines creates an event and queues it onto a 42 struct eeh_event *event; in eeh_event_handler() local 48 /* Fetch EEH event from the queue */ in eeh_event_handler() 50 event = NULL; in eeh_event_handler() 52 event = list_entry(eeh_eventlist.next, in eeh_event_handler() 54 list_del(&event->list); in eeh_event_handler() 57 if (!event) in eeh_event_handler() 60 /* We might have event without binding PE */ in eeh_event_handler() 61 if (event->pe) in eeh_event_handler() 62 eeh_handle_normal_event(event->pe); in eeh_event_handler() [all …]
|
/Linux-v5.10/fs/notify/ |
D | notification.c | 9 * 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 58 struct fsnotify_event *event) in fsnotify_destroy_event() argument 61 if (!event || event == group->overflow_event) in fsnotify_destroy_event() 64 * If the event is still queued, we have a problem... Do an unreliable in fsnotify_destroy_event() 67 * from the list by a different CPU than the one freeing the event. in fsnotify_destroy_event() 69 if (!list_empty(&event->list)) { in fsnotify_destroy_event() [all …]
|
/Linux-v5.10/drivers/md/ |
D | dm-uevent.c | 39 static void dm_uevent_free(struct dm_uevent *event) in dm_uevent_free() argument 41 kmem_cache_free(_dm_event_cache, event); in dm_uevent_free() 46 struct dm_uevent *event; in dm_uevent_alloc() local 48 event = kmem_cache_zalloc(_dm_event_cache, GFP_ATOMIC); in dm_uevent_alloc() 49 if (!event) in dm_uevent_alloc() 52 INIT_LIST_HEAD(&event->elist); in dm_uevent_alloc() 53 event->md = md; in dm_uevent_alloc() 55 return event; in dm_uevent_alloc() 65 struct dm_uevent *event; in dm_build_path_uevent() local 67 event = dm_uevent_alloc(md); in dm_build_path_uevent() [all …]
|
/Linux-v5.10/drivers/perf/hisilicon/ |
D | hisi_uncore_pmu.c | 3 * HiSilicon SoC Hardware event counters support 41 * PMU event attributes 66 static bool hisi_validate_event_group(struct perf_event *event) in hisi_validate_event_group() argument 68 struct perf_event *sibling, *leader = event->group_leader; in hisi_validate_event_group() 69 struct hisi_pmu *hisi_pmu = to_hisi_pmu(event->pmu); in hisi_validate_event_group() 70 /* Include count for the event */ in hisi_validate_event_group() 78 if (leader->pmu != event->pmu) in hisi_validate_event_group() 82 if (leader != event) in hisi_validate_event_group() 86 for_each_sibling_event(sibling, event->group_leader) { in hisi_validate_event_group() 89 if (sibling->pmu != event->pmu) in hisi_validate_event_group() [all …]
|
/Linux-v5.10/drivers/firmware/ |
D | arm_sdei.c | 57 /* This pointer is handed to firmware as the event argument. */ 76 struct sdei_event *event; member 81 #define CROSSCALL_INIT(arg, event) \ argument 83 arg.event = event; \ 89 struct sdei_event *event) in sdei_do_local_call() argument 93 CROSSCALL_INIT(arg, event); in sdei_do_local_call() 100 struct sdei_event *event) in sdei_do_cross_call() argument 104 CROSSCALL_INIT(arg, event); in sdei_do_cross_call() 190 static int sdei_api_event_get_info(u32 event, u32 info, u64 *result) in sdei_api_event_get_info() argument 192 return invoke_sdei_fn(SDEI_1_0_FN_SDEI_EVENT_GET_INFO, event, info, 0, in sdei_api_event_get_info() [all …]
|