Home
last modified time | relevance | path

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

12345678910>>...353

/linux-6.12.1/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.12.1/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.12.1/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.12.1/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.12.1/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.12.1/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.c43 union perf_event *event,
127 struct ordered_event *event) in ordered_events__deliver_event() argument
132 return perf_session__deliver_event(session, event->event, in ordered_events__deliver_event()
133 session->tool, event->file_offset, in ordered_events__deliver_event()
134 event->file_path); in ordered_events__deliver_event()
201 * kernel MMAP event, in perf_event__process_mmap(). in __perf_session__new()
262 static void swap_sample_id_all(union perf_event *event, void *data) in swap_sample_id_all() argument
264 void *end = (void *) event + event->header.size; in swap_sample_id_all()
271 static void perf_event__all64_swap(union perf_event *event, in perf_event__all64_swap() argument
274 struct perf_event_header *hdr = &event->header; in perf_event__all64_swap()
[all …]
/linux-6.12.1/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.12.1/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.12.1/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/
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 …]
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 …]
/linux-6.12.1/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.12.1/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.12.1/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.12.1/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 …]
/linux-6.12.1/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfweh.c20 * struct brcmf_fweh_queue_item - event item on event queue.
23 * @code: event code.
24 * @ifidx: interface index related to this event.
26 * @emsg: common parameters of the firmware event message.
28 * @data: event specific data part of the firmware event.
52 /* array for mapping code to event name */
59 * brcmf_fweh_event_name() - returns name for given event code.
80 * brcmf_fweh_queue_event() - create and queue event.
82 * @fweh: firmware event handling info.
83 * @event: event queue entry.
[all …]
/linux-6.12.1/drivers/net/wireless/marvell/mwifiex/
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-6.12.1/Documentation/devicetree/bindings/net/wireless/
Dqcom,ath11k.yaml109 - description: interrupt event for ring CE0
110 - description: interrupt event for ring CE1
111 - description: interrupt event for ring CE2
112 - description: interrupt event for ring CE3
113 - description: interrupt event for ring CE4
114 - description: interrupt event for ring CE5
115 - description: interrupt event for ring CE6
116 - description: interrupt event for ring CE7
117 - description: interrupt event for ring CE8
118 - description: interrupt event for ring CE9
[all …]
/linux-6.12.1/arch/s390/kernel/
Dperf_pai_ext.c3 * Performance event support - Processor Activity Instrumentation Extension
52 struct perf_event *event; /* Perf event for sampling */ member
66 /* Free per CPU data when the last event is removed. */
77 /* On initialization of first event also allocate per CPU data dynamically.
90 * decrements refcnt when an event can not be in paiext_root_alloc()
109 /* Free all memory allocated for event counting/sampling setup */
119 /* Release the PMU if event is the last perf event */
120 static void paiext_event_destroy_cpu(struct perf_event *event, int cpu) in paiext_event_destroy_cpu() argument
132 static void paiext_event_destroy(struct perf_event *event) in paiext_event_destroy() argument
136 free_page(PAI_SAVE_AREA(event)); in paiext_event_destroy()
[all …]
/linux-6.12.1/tools/perf/pmu-events/arch/x86/amdzen1/
Dfloating-point.json6event reflects how busy the FPU pipelines are and may be used for workload characterization. This …
13event reflects how busy the FPU pipelines are and may be used for workload characterization. This …
20event reflects how busy the FPU pipelines are and may be used for workload characterization. This …
27event reflects how busy the FPU pipelines are and may be used for workload characterization. This …
34event reflects how busy the FPU pipelines are and may be used for workload characterization. This …
41event reflects how busy the FPU pipelines are and may be used for workload characterization. This …
48event reflects how busy the FPU pipelines are and may be used for workload characterization. This …
55event reflects how busy the FPU pipelines are and may be used for workload characterization. This …
62event reflects how busy the FPU pipelines are and may be used for workload characterization. This …
69event reflects how busy the FPU pipelines are and may be used for workload characterization. This …
[all …]

12345678910>>...353