/linux/arch/powerpc/perf/ |
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A D | power10-events-list.h | 10 * Power10 event codes. 12 EVENT(PM_CYC, 0x600f4); 13 EVENT(PM_DISP_STALL_CYC, 0x100f8); 14 EVENT(PM_EXEC_STALL, 0x30008); 15 EVENT(PM_INST_CMPL, 0x500fa); 16 EVENT(PM_BR_CMPL, 0x4d05e); 17 EVENT(PM_BR_MPRED_CMPL, 0x400f6); 18 EVENT(PM_BR_FIN, 0x2f04a); 19 EVENT(PM_MPRED_BR_FIN, 0x3e098); 20 EVENT(PM_LD_DEMAND_MISS_L1_FIN, 0x400f0); [all …]
|
/linux/tools/testing/selftests/powerpc/pmu/event_code_tests/ |
H A D | generic_events_valid_test.c | 9 #include "../event.h" 13 * Testcase to ensure that using invalid event in generic 14 * event for PERF_TYPE_HARDWARE should fail 19 struct event event; in generic_events_valid_test() local 36 event_init_opts(&event, PERF_COUNT_HW_CPU_CYCLES, PERF_TYPE_HARDWARE, "event"); in generic_events_valid_test() 37 FAIL_IF(event_open(&event)); in generic_events_valid_test() 38 event_close(&event); in generic_events_valid_test() 40 event_init_opts(&event, PERF_COUNT_HW_INSTRUCTION in generic_events_valid_test() [all...] |
H A D | hw_cache_event_type_test.c | 9 #include "../event.h" 18 * Hardware cache event operation type : PERF_COUNT_HW_CACHE_OP_READ 19 * Hardware cache event result type : PERF_COUNT_HW_CACHE_RESULT_MISS 24 * Hardware cache event operation type : PERF_COUNT_HW_CACHE_OP_WRITE 25 * Hardware cache event result type : PERF_COUNT_HW_CACHE_RESULT_ACCESS 30 * Hardware cache event operation type : PERF_COUNT_HW_CACHE_OP_WRITE 31 * Hardware cache event result type : PERF_COUNT_HW_CACHE_RESULT_ACCESS 36 * Hardware cache event operation type : PERF_COUNT_HW_CACHE_OP_READ 37 * Hardware cache event result type : Invalid ( > PERF_COUNT_HW_CACHE_RESULT_MAX) 46 struct event event; in hw_cache_event_type_test() local [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/core/ |
H A 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() 30 nvkm_trace(event->subdev, "event: decr %08x on %d\n", types, index); in nvkm_event_put() 34 if (--event->refs[index * event->types_nr + type] == 0) { in nvkm_event_put() 35 nvkm_trace(event->subdev, "event: blocking %d on %d\n", type, index); in nvkm_event_put() 36 if (event->func->fini) in nvkm_event_put() 37 event->func->fini(event, 1 << type, index); in nvkm_event_put() 43 nvkm_event_get(struct nvkm_event *event, u32 types, int index) in nvkm_event_get() argument [all …]
|
/linux/kernel/events/ |
H A D | core.c | 225 static bool is_kernel_event(struct perf_event *event) in is_kernel_event() argument 227 return READ_ONCE(event->owner) == TASK_TOMBSTONE; in is_kernel_event() 247 * - removing the last event from a task ctx; this is relatively straight 250 * - adding the first event to a task ctx; this is tricky because we cannot 261 struct perf_event *event; member 269 struct perf_event *event = efs->event; in event_function() local 270 struct perf_event_context *ctx = event->ctx; in event_function() 305 efs->func(event, cpuctx, ctx, efs->data); in event_function() 312 static void event_function_call(struct perf_event *event, event_f func, void *data) in event_function_call() argument 314 struct perf_event_context *ctx = event->ctx; in event_function_call() [all …]
|
/linux/Documentation/ABI/testing/ |
H A 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/Documentation/trace/ |
H A D | boottime-trace.rst | 13 device initialization with full features of ftrace including per-event 37 Output trace-event data on printk buffer too. 66 (you can enable it by the "traceon" event trigger action) 81 ftrace.[instance.INSTANCE.]events = EVENT[, EVENT2[...]] 82 Enable given events on boot. You can use a wild card in EVENT. 94 Ftrace Per-Event Options 97 These options are setting per-event options. 99 ftrace.[instance.INSTANCE.]event.GROUP.EVENT.enable 100 Enable GROUP:EVENT tracing. 102 ftrace.[instance.INSTANCE.]event.GROUP.enable [all …]
|
/linux/tools/testing/selftests/powerpc/pmu/ebb/ |
H A 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/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/ |
H A D | pipeline.json | 9 "PublicDescription": "This event counts valid cycles of EAGA pipeline.", 12 "BriefDescription": "This event counts valid cycles of EAGA pipeline." 15 "PublicDescription": "This event counts valid cycles of EAGB pipeline.", 18 "BriefDescription": "This event counts valid cycles of EAGB pipeline." 21 "PublicDescription": "This event counts valid cycles of EXA pipeline.", 24 "BriefDescription": "This event counts valid cycles of EXA pipeline." 27 "PublicDescription": "This event counts valid cycles of EXB pipeline.", 30 "BriefDescription": "This event counts valid cycles of EXB pipeline." 33 "PublicDescription": "This event counts valid cycles of FLA pipeline.", 36 "BriefDescription": "This event counts valid cycles of FLA pipeline." [all …]
|
H A D | other.json | 3 "PublicDescription": "This event counts the occurrence count of the micro-operation split.", 6 "BriefDescription": "This event counts the occurrence count of the micro-operation split." 9 …"PublicDescription": "This event counts every cycle that no operation was committed because the ol… 12 …"BriefDescription": "This event counts every cycle that no operation was committed because the old… 15 …"PublicDescription": "This event counts every cycle that no instruction was committed because the … 18 …"BriefDescription": "This event counts every cycle that no instruction was committed because the o… 21 …"PublicDescription": "This event counts every cycle that no instruction was committed because the … 24 …"BriefDescription": "This event counts every cycle that no instruction was committed because the o… 27 …"PublicDescription": "This event counts every cycle that no instruction was committed because the … 30 …"BriefDescription": "This event counts every cycle that no instruction was committed because the o… [all …]
|
/linux/net/sctp/ |
H A 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 …]
|
H A 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/drivers/perf/ |
H A D | riscv_pmu.c | 7 * This implementation is based on old RISC-V perf and ARM perf event code 21 static bool riscv_perf_user_access(struct perf_event *event) in riscv_perf_user_access() argument 23 return ((event->attr.type == PERF_TYPE_HARDWARE) || in riscv_perf_user_access() 24 (event->attr.type == PERF_TYPE_HW_CACHE) || in riscv_perf_user_access() 25 (event->attr.type == PERF_TYPE_RAW)) && in riscv_perf_user_access() 26 !!(event->hw.flags & PERF_EVENT_FLAG_USER_READ_CNT) && in riscv_perf_user_access() 27 (event->hw.idx != -1); in riscv_perf_user_access() 30 void arch_perf_update_userpage(struct perf_event *event, in arch_perf_update_userpage() argument 40 userpg->cap_user_rdpmc = riscv_perf_user_access(event); in arch_perf_update_userpage() 48 userpg->pmc_width = to_riscv_pmu(event->pmu)->ctr_get_width(event->hw.idx) + 1; in arch_perf_update_userpage() [all …]
|
/linux/tools/perf/pmu-events/arch/riscv/ |
H A D | riscv-sbi-firmware.json | 6 "BriefDescription": "Misaligned load trap event" 12 "BriefDescription": "Misaligned store trap event" 18 "BriefDescription": "Load access trap event" 24 "BriefDescription": "Store access trap event" 30 "BriefDescription": "Illegal instruction trap event" 33 "PublicDescription": "Set timer event", 36 "BriefDescription": "Set timer event" 39 "PublicDescription": "Sent IPI to other HART event", 42 "BriefDescription": "Sent IPI to other HART event" 45 "PublicDescription": "Received IPI from other HART event", [all …]
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | uap_event.c | 3 * NXP Wireless LAN device driver: AP event handling 15 struct sk_buff *event) in mwifiex_check_uap_capabilities() argument 25 skb_pull(event, MWIFIEX_BSS_START_EVT_FIX_SIZE); in mwifiex_check_uap_capabilities() 26 evt_len = event->len; in mwifiex_check_uap_capabilities() 27 curr = event->data; in mwifiex_check_uap_capabilities() 30 event->data, event->len); in mwifiex_check_uap_capabilities() 32 skb_push(event, MWIFIEX_BSS_START_EVT_FIX_SIZE); in mwifiex_check_uap_capabilities() 58 mwifiex_dbg(priv->adapter, EVENT, in mwifiex_check_uap_capabilities() 82 * Event specific routines are called by this function based 83 * upon the generated event cause. [all …]
|
H A D | sta_event.c | 3 * NXP Wireless LAN device driver: station event handling 20 struct sk_buff *event) in mwifiex_check_ibss_peer_capabilities() argument 29 skb_pull(event, MWIFIEX_IBSS_CONNECT_EVT_FIX_SIZE); in mwifiex_check_ibss_peer_capabilities() 30 evt_len = event->len; in mwifiex_check_ibss_peer_capabilities() 31 curr = event->data; in mwifiex_check_ibss_peer_capabilities() 34 event->data, event->len); in mwifiex_check_ibss_peer_capabilities() 36 skb_push(event, MWIFIEX_IBSS_CONNECT_EVT_FIX_SIZE); in mwifiex_check_ibss_peer_capabilities() 113 * The function is invoked after receiving a disconnect event from firmware, 123 * - Sends a disconnect event to upper layers/applications. 134 "info: handles disconnect event\n"); in mwifiex_reset_connect_state() [all …]
|
/linux/fs/notify/ |
H A 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 51 struct fsnotify_event *event) in fsnotify_destroy_event() argument 54 if (!event || event == group->overflow_event) in fsnotify_destroy_event() 57 * If the event is still queued, we have a problem... Do an unreliable in fsnotify_destroy_event() 60 * from the list by a different CPU than the one freeing the event. in fsnotify_destroy_event() 62 if (!list_empty(&event->list)) { in fsnotify_destroy_event() [all …]
|
/linux/Documentation/devicetree/bindings/net/wireless/ |
H A D | qcom,ath11k.yaml | 115 - description: interrupt event for ring CE0 116 - description: interrupt event for ring CE1 117 - description: interrupt event for ring CE2 118 - description: interrupt event for ring CE3 119 - description: interrupt event for ring CE4 120 - description: interrupt event for ring CE5 121 - description: interrupt event for ring CE6 122 - description: interrupt event for ring CE7 123 - description: interrupt event for ring CE8 124 - description: interrupt event for ring CE9 [all …]
|
/linux/tools/perf/pmu-events/arch/x86/amdzen1/ |
H A 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/arch/powerpc/kernel/ |
H A 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/drivers/md/ |
H A 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/drivers/iommu/intel/ |
H A D | perfmon.c | 13 PMU_FORMAT_ATTR(event, "config:0-27"); /* ES: Events Select */ 14 PMU_FORMAT_ATTR(event_group, "config:28-31"); /* EGI: Event Group Index */ 120 * Define the event attr related functions 121 * Input: _name: event attr name 122 * _string: string of the event in sysfs 123 * _g_idx: event group encoding 124 * _event: event encoding 151 IOMMU_PMU_EVENT_ATTR(iommu_clocks, "event_group=0x0,event=0x001", 0x0, 0x001) 152 IOMMU_PMU_EVENT_ATTR(iommu_requests, "event_group=0x0,event=0x002", 0x0, 0x002) 153 IOMMU_PMU_EVENT_ATTR(pw_occupancy, "event_group=0x0,event=0x004", 0x0, 0x004) [all …]
|