Home
last modified time | relevance | path

Searched full:event (Results 1 – 25 of 6643) sorted by relevance

12345678910>>...266

/linux/arch/powerpc/perf/
H A Dpower7-events-list.h8 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 Dpower9-events-list.h9 * 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 Dpower8-events-list.h9 * 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 Dpower10-events-list.h10 * 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 Dgeneric_events_valid_test.c9 #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 Dhw_cache_event_type_test.c9 #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 Devent.c16 * 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 Dcore.c225 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 Dsysfs-bus-event_source-devices-dfl_fme13 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/tools/perf/pmu-events/arch/arm64/fujitsu/monaka/
H A Dfp_operation.json5 … "BriefDescription": "This event counts architecturally executed floating-point move operation."
10 …"BriefDescription": "This event counts architecturally executed NOSIMD load operations that using …
15 …"BriefDescription": "This event counts architecturally executed NOSIMD store operations that using…
19 …"BriefDescription": "This event counts architecturally executed Advanced SIMD floating-point opera…
23 … "BriefDescription": "This event counts architecturally executed SVE floating-point operation."
27 …"BriefDescription": "This event counts architecturally executed Advanced SIMD or SVE floating-poin…
31 …"BriefDescription": "This event counts architecturally executed half-precision floating-point oper…
35 …"BriefDescription": "This event counts architecturally executed Advanced SIMD half-precision float…
39 …"BriefDescription": "This event counts architecturally executed SVE half-precision floating-point …
43 …"BriefDescription": "This event counts architecturally executed Advanced SIMD or SVE half-precisio…
[all …]
H A Dtlb.json4 …"BriefDescription": "This event counts operations that cause a TLB refill of the L1I TLB. See L1I_…
8 …"BriefDescription": "This event counts operations that cause a TLB refill of the L1D TLB. See L1D_…
12 …"BriefDescription": "This event counts operations that cause a TLB access to the L1D TLB. See L1D_…
16 …"BriefDescription": "This event counts operations that cause a TLB access to the L1I TLB. See L1I_…
20 …"BriefDescription": "This event counts operations that cause a TLB refill of the L2D TLB. See L2D_…
24 …"BriefDescription": "This event counts operations that cause a TLB access to the L2D TLB. See L2D_…
28 … "BriefDescription": "This event counts data TLB access with at least one translation table walk."
32 …"BriefDescription": "This event counts instruction TLB access with at least one translation table …
37 … "BriefDescription": "This event counts operations that cause a TLB access to the L1I in 4KB page."
42 …"BriefDescription": "This event counts operations that cause a TLB access to the L1I in 64KB page."
[all …]
H A Dsve.json4 …"BriefDescription": "This event counts architecturally executed SIMD instructions, excluding the A…
8 …"BriefDescription": "This event counts architecturally executed SVE instructions, including the in…
12 …"BriefDescription": "This event counts architecturally executed SVE instructions, including the in…
16 … "BriefDescription": "This event counts architecturally executed Advanced SIMD or SVE operation."
20 "BriefDescription": "This event counts all architecturally executed micro-operation."
24 …"BriefDescription": "This event counts architecturally executed math function operations due to th…
28 …"BriefDescription": "This event counts architecturally executed operations due to scalar, Advanced…
32 …"BriefDescription": "This event counts architecturally executed floating-point fused multiply-add …
36 …"BriefDescription": "This event counts architecturally executed floating-point reciprocal estimate…
40 …"BriefDescription": "This event counts architecturally executed floating-point convert operations …
[all …]
H A Dspec_operation.json4 …"BriefDescription": "This event counts each correction to the predicted program flow that occurs b…
8 …"BriefDescription": "This event counts every branch or other change in the program flow that the b…
12 "BriefDescription": "This event counts every architecturally executed instruction."
16 "BriefDescription": "This event counts every speculatively executed micro-operation."
20 … "BriefDescription": "This event counts architecturally executed load-exclusive instructions."
24 … "BriefDescription": "This event counts architecturally executed store-exclusive instructions."
28 …"BriefDescription": "This event counts architecturally executed memory-reading instructions, as de…
32 …Description": "This event counts architecturally executed memory-writing instructions, as defined …
36 …"BriefDescription": "This event counts architecturally executed memory-reading instructions and me…
40 …"BriefDescription": "This event counts architecturally executed integer data-processing instructio…
[all …]
/linux/tools/perf/util/
H A Dsession.c15 #include <perf/event.h>
45 union perf_event *event,
129 struct ordered_event *event) in ordered_events__deliver_event() argument
134 return perf_session__deliver_event(session, event->event, in ordered_events__deliver_event()
135 session->tool, event->file_offset, in ordered_events__deliver_event()
136 event->file_path); in ordered_events__deliver_event()
207 * kernel MMAP event, in perf_event__process_mmap(). in __perf_session__new()
268 static void swap_sample_id_all(union perf_event *event, void *data) in swap_sample_id_all() argument
270 void *end = (void *) event + event->header.size; in swap_sample_id_all()
277 static void perf_event__all64_swap(union perf_event *event, in perf_event__all64_swap() argument
[all …]
H A Devent.c8 #include <perf/event.h>
18 #include "event.h"
36 #include "bpf-event.h"
155 struct perf_record_stat_config *event) in perf_event__read_stat_config() argument
159 for (i = 0; i < event->nr; i++) { in perf_event__read_stat_config()
161 switch (event->data[i].tag) { in perf_event__read_stat_config()
164 config->__val = event->data[i].val; \ in perf_event__read_stat_config()
174 event->data[i].tag); in perf_event__read_stat_config()
179 size_t perf_event__fprintf_comm(union perf_event *event, FILE *fp) in perf_event__fprintf_comm() argument
183 if (event->header.misc & PERF_RECORD_MISC_COMM_EXEC) in perf_event__fprintf_comm()
[all …]
/linux/tools/testing/selftests/powerpc/pmu/ebb/
H A Devent_attributes_test.c13 * 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 Dpipeline.json9 "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 Dother.json3 "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 Dulpevent.c10 * 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 …]
/linux/tools/perf/pmu-events/arch/riscv/
H A Driscv-sbi-firmware.json6 "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/perf/
H A Driscv_pmu.c7 * 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/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() 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/drivers/net/wireless/marvell/mwifiex/
H A Duap_event.c3 * 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 …]
/linux/arch/s390/kernel/
H A Dperf_pai_ext.c3 * Performance event support - Processor Activity Instrumentation Extension
51 struct perf_event *event; /* Perf event for sampling */ member
65 /* Free per CPU data when the last event is removed. */
76 /* On initialization of first event also allocate per CPU data dynamically.
89 * decrements refcnt when an event can not be in paiext_root_alloc()
108 /* Free all memory allocated for event counting/sampling setup */
118 /* Release the PMU if event is the last perf event */
119 static void paiext_event_destroy_cpu(struct perf_event *event, int cpu) in paiext_event_destroy_cpu() argument
131 static void paiext_event_destroy(struct perf_event *event) in paiext_event_destroy() argument
135 free_page(PAI_SAVE_AREA(event)); in paiext_event_destroy()
[all …]
/linux/Documentation/devicetree/bindings/net/wireless/
H A Dqcom,ath11k.yaml115 - 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 …]

12345678910>>...266