Home
last modified time | relevance | path

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

12345678910>>...240

/Linux-v6.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-v6.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-v6.1/kernel/events/
Dcore.c182 static bool is_kernel_event(struct perf_event *event) in is_kernel_event() argument
184 return READ_ONCE(event->owner) == TASK_TOMBSTONE; in is_kernel_event()
196 * - removing the last event from a task ctx; this is relatively straight
199 * - adding the first event to a task ctx; this is tricky because we cannot
210 struct perf_event *event; member
218 struct perf_event *event = efs->event; in event_function() local
219 struct perf_event_context *ctx = event->ctx; in event_function()
254 efs->func(event, cpuctx, ctx, efs->data); in event_function()
261 static void event_function_call(struct perf_event *event, event_f func, void *data) in event_function_call() argument
263 struct perf_event_context *ctx = event->ctx; in event_function_call()
[all …]
/Linux-v6.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-v6.1/tools/perf/util/
Dsession.c42 union perf_event *event, u64 file_offset, in perf_session__process_compressed_event() argument
74 src = (void *)event + sizeof(struct perf_record_compressed); in perf_session__process_compressed_event()
75 src_size = event->pack.header.size - sizeof(struct perf_record_compressed); in perf_session__process_compressed_event()
103 union perf_event *event,
182 struct ordered_event *event) in ordered_events__deliver_event() argument
187 return perf_session__deliver_event(session, event->event, in ordered_events__deliver_event()
188 session->tool, event->file_offset, in ordered_events__deliver_event()
189 event->file_path); in ordered_events__deliver_event()
256 * kernel MMAP event, in perf_event__process_mmap(). in __perf_session__new()
322 union perf_event *event in process_event_synth_tracing_data_stub()
[all …]
Devent.c15 #include "event.h"
33 #include "bpf-event.h"
126 struct perf_record_stat_config *event) in perf_event__read_stat_config() argument
130 for (i = 0; i < event->nr; i++) { in perf_event__read_stat_config()
132 switch (event->data[i].tag) { in perf_event__read_stat_config()
135 config->__val = event->data[i].val; \ in perf_event__read_stat_config()
144 event->data[i].tag); in perf_event__read_stat_config()
149 size_t perf_event__fprintf_comm(union perf_event *event, FILE *fp) in perf_event__fprintf_comm() argument
153 if (event->header.misc & PERF_RECORD_MISC_COMM_EXEC) in perf_event__fprintf_comm()
158 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-v6.1/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfweh.c19 * 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-v6.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-v6.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-v6.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-v6.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-v6.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-v6.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()
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 …]
/Linux-v6.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-v6.1/Documentation/devicetree/bindings/net/wireless/
Dqcom,ath11k.yaml105 - description: interrupt event for ring CE0
106 - description: interrupt event for ring CE1
107 - description: interrupt event for ring CE2
108 - description: interrupt event for ring CE3
109 - description: interrupt event for ring CE4
110 - description: interrupt event for ring CE5
111 - description: interrupt event for ring CE6
112 - description: interrupt event for ring CE7
113 - description: interrupt event for ring CE8
114 - description: interrupt event for ring CE9
[all …]
/Linux-v6.1/drivers/firmware/
Darm_sdei.c56 /* This pointer is handed to firmware as the event argument. */
75 struct sdei_event *event; member
80 #define CROSSCALL_INIT(arg, event) \ argument
82 arg.event = event; \
88 struct sdei_event *event) in sdei_do_local_call() argument
92 CROSSCALL_INIT(arg, event); in sdei_do_local_call()
99 struct sdei_event *event) in sdei_do_cross_call() argument
103 CROSSCALL_INIT(arg, event); in sdei_do_cross_call()
189 static int sdei_api_event_get_info(u32 event, u32 info, u64 *result) in sdei_api_event_get_info() argument
191 return invoke_sdei_fn(SDEI_1_0_FN_SDEI_EVENT_GET_INFO, event, info, 0, in sdei_api_event_get_info()
[all …]
/Linux-v6.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 …]
/Linux-v6.1/arch/powerpc/kernel/
Deeh_event.c21 * 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-v6.1/include/trace/events/
Drv.h14 TP_PROTO(char *state, char *event, char *next_state, bool final_state),
16 TP_ARGS(state, event, next_state, final_state),
20 __array( char, event, MAX_DA_NAME_LEN )
27 memcpy(__entry->event, event, MAX_DA_NAME_LEN);
34 __entry->event,
41 TP_PROTO(char *state, char *event),
43 TP_ARGS(state, event),
47 __array( char, event, MAX_DA_NAME_LEN )
52 memcpy(__entry->event, event, MAX_DA_NAME_LEN);
55 TP_printk("event %s not expected in the state %s",
[all …]

12345678910>>...240