Home
last modified time | relevance | path

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

12345678910>>...302

/linux-6.14.4/arch/powerpc/perf/
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 …]
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 …]
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 …]
Dcore-fsl-emb.c3 * Performance event support - Freescale Embedded Performance Monitor
23 struct perf_event *event[MAX_HWEVENTS]; member
162 static void fsl_emb_pmu_read(struct perf_event *event) in fsl_emb_pmu_read() argument
166 if (event->hw.state & PERF_HES_STOPPED) in fsl_emb_pmu_read()
175 prev = local64_read(&event->hw.prev_count); in fsl_emb_pmu_read()
177 val = read_pmc(event->hw.idx); in fsl_emb_pmu_read()
178 } while (local64_cmpxchg(&event->hw.prev_count, prev, val) != prev); in fsl_emb_pmu_read()
182 local64_add(delta, &event->count); in fsl_emb_pmu_read()
183 local64_sub(delta, &event->hw.period_left); in fsl_emb_pmu_read()
255 struct perf_event *event; in collect_events() local
[all …]
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-6.14.4/tools/testing/selftests/powerpc/pmu/event_code_tests/
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
35 event_init_opts(&event, PERF_COUNT_HW_CPU_CYCLES, PERF_TYPE_HARDWARE, "event"); in generic_events_valid_test()
36 FAIL_IF(event_open(&event)); in generic_events_valid_test()
37 event_close(&event); in generic_events_valid_test()
39 event_init_opts(&event, PERF_COUNT_HW_INSTRUCTIONS, in generic_events_valid_test()
40 PERF_TYPE_HARDWARE, "event"); in generic_events_valid_test()
41 FAIL_IF(event_open(&event)); in generic_events_valid_test()
[all …]
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-6.14.4/drivers/gpu/drm/nouveau/nvkm/core/
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-6.14.4/Documentation/admin-guide/perf/
Dmrvl-odyssey-ddr-pmu.rst11 Additionally DSS also supports two fixed performance event counters, one
24 mrvl_ddr_pmu_<>/ddr_act_bypass_access/ [Kernel PMU event]
25 mrvl_ddr_pmu_<>/ddr_bsm_alloc/ [Kernel PMU event]
26 mrvl_ddr_pmu_<>/ddr_bsm_starvation/ [Kernel PMU event]
27 mrvl_ddr_pmu_<>/ddr_cam_active_access/ [Kernel PMU event]
28 mrvl_ddr_pmu_<>/ddr_cam_mwr/ [Kernel PMU event]
29 mrvl_ddr_pmu_<>/ddr_cam_rd_active_access/ [Kernel PMU event]
30 mrvl_ddr_pmu_<>/ddr_cam_rd_or_wr_access/ [Kernel PMU event]
31 mrvl_ddr_pmu_<>/ddr_cam_read/ [Kernel PMU event]
32 mrvl_ddr_pmu_<>/ddr_cam_wr_access/ [Kernel PMU event]
[all …]
/linux-6.14.4/Documentation/ABI/testing/
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-6.14.4/kernel/events/
Dcore.c211 static bool is_kernel_event(struct perf_event *event) in is_kernel_event() argument
213 return READ_ONCE(event->owner) == TASK_TOMBSTONE; in is_kernel_event()
233 * - removing the last event from a task ctx; this is relatively straight
236 * - adding the first event to a task ctx; this is tricky because we cannot
247 struct perf_event *event; member
255 struct perf_event *event = efs->event; in event_function() local
256 struct perf_event_context *ctx = event->ctx; in event_function()
291 efs->func(event, cpuctx, ctx, efs->data); in event_function()
298 static void event_function_call(struct perf_event *event, event_f func, void *data) in event_function_call() argument
300 struct perf_event_context *ctx = event->ctx; in event_function_call()
[all …]
/linux-6.14.4/tools/perf/util/
Devent.c15 #include "event.h"
33 #include "bpf-event.h"
150 struct perf_record_stat_config *event) in perf_event__read_stat_config() argument
154 for (i = 0; i < event->nr; i++) { in perf_event__read_stat_config()
156 switch (event->data[i].tag) { in perf_event__read_stat_config()
159 config->__val = event->data[i].val; \ in perf_event__read_stat_config()
169 event->data[i].tag); in perf_event__read_stat_config()
174 size_t perf_event__fprintf_comm(union perf_event *event, FILE *fp) in perf_event__fprintf_comm() argument
178 if (event->header.misc & PERF_RECORD_MISC_COMM_EXEC) in perf_event__fprintf_comm()
183 return fprintf(fp, "%s: %s:%d/%d\n", s, event->comm.comm, event->comm.pid, event->comm.tid); in perf_event__fprintf_comm()
[all …]
Dsession.c44 union perf_event *event,
128 struct ordered_event *event) in ordered_events__deliver_event() argument
133 return perf_session__deliver_event(session, event->event, in ordered_events__deliver_event()
134 session->tool, event->file_offset, in ordered_events__deliver_event()
135 event->file_path); in ordered_events__deliver_event()
202 * kernel MMAP event, in perf_event__process_mmap(). in __perf_session__new()
263 static void swap_sample_id_all(union perf_event *event, void *data) in swap_sample_id_all() argument
265 void *end = (void *) event + event->header.size; in swap_sample_id_all()
272 static void perf_event__all64_swap(union perf_event *event, in perf_event__all64_swap() argument
275 struct perf_event_header *hdr = &event->header; in perf_event__all64_swap()
[all …]
/linux-6.14.4/Documentation/trace/
Dboottime-trace.rst13 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-6.14.4/tools/testing/selftests/powerpc/pmu/ebb/
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-6.14.4/tools/perf/pmu-events/arch/arm64/fujitsu/monaka/
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 …]
Dfp_operation.json5 … "BriefDescription": "This event counts architecturally executed floating-point move operations."
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 and SVE floating-poi…
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 and SVE half-precisi…
[all …]
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 and SVE operations."
20 "BriefDescription": "This event counts all architecturally executed micro-operations."
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 …]
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-6.14.4/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/
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 …]
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-6.14.4/tools/perf/pmu-events/arch/riscv/
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-6.14.4/net/sctp/
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-6.14.4/drivers/perf/
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-6.14.4/fs/notify/
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 …]

12345678910>>...302