Home
last modified time | relevance | path

Searched +full:event +full:- (Results 1 – 25 of 1082) sorted by relevance

12345678910>>...44

/linux-6.12.1/arch/powerpc/perf/
Dpower7-events-list.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
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)
[all …]
Dpower9-events-list.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
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)
[all …]
Dpower8-events-list.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
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)
[all …]
Dcore-fsl-emb.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Performance event support - Freescale Embedded Performance Monitor
5 * Copyright 2008-2009 Paul Mackerras, IBM Corporation.
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()
171 * are soft-disabled, as long as interrupts are hard-enabled. 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()
[all …]
Dpower10-events-list.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
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);
[all …]
/linux-6.12.1/tools/testing/selftests/powerpc/pmu/event_code_tests/
Dgeneric_events_valid_test.c1 // SPDX-License-Identifier: GPL-2.0-only
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
29 * - PERF_COUNT_HW_BUS_CYCLES in generic_events_valid_test()
30 * - PERF_COUNT_HW_STALLED_CYCLES_FRONTEND in generic_events_valid_test()
31 * - PERF_COUNT_HW_STALLED_CYCLES_BACKEND in generic_events_valid_test()
32 * - PERF_COUNT_HW_REF_CPU_CYCLES in generic_events_valid_test()
35 event_init_opts(&event, PERF_COUNT_HW_CPU_CYCLES, PERF_TYPE_HARDWARE, "event"); in generic_events_valid_test()
[all …]
Dhw_cache_event_type_test.c1 // SPDX-License-Identifier: GPL-2.0-only
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)
[all …]
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/core/
Devent.c2 * Copyright 2013-2014 Red Hat Inc.
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()
[all …]
/linux-6.12.1/kernel/events/
Dcore.c1 // SPDX-License-Identifier: GPL-2.0
6 * Copyright (C) 2008-2011 Red Hat, Inc., Ingo Molnar
7 * Copyright (C) 2008-2011 Red Hat, Inc., Peter Zijlstra
75 struct task_struct *p = tfc->p; in remote_function()
78 /* -EAGAIN */ in remote_function()
87 tfc->ret = -ESRCH; /* No such (running) process */ in remote_function()
92 tfc->ret = tfc->func(tfc->info); in remote_function()
96 * task_function_call - call a function on the cpu on which a task runs
106 * returns @func return value or -ESRCH or -ENXIO when the process isn't running
115 .ret = -EAGAIN, in task_function_call()
[all …]
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-bus-event_source-devices-dfl_fme5 Description: Read-only. Attribute group to describe the magic bits
7 (See ABI/testing/sysfs-bus-event_source-devices-format).
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).
28 Description: Read-only. This file always returns cpu which the PMU is bound
35 Description: Read-only. Attribute group to describe performance monitoring
[all …]
/linux-6.12.1/tools/perf/util/
Devent.c15 #include "event.h"
24 #include "time-utils.h"
33 #include "bpf-event.h"
106 type == 'A') || strcmp(name, args->name)) in find_func_symbol_cb()
109 args->start = start; in find_func_symbol_cb()
118 if (strcmp(name, args->name)) in find_any_symbol_cb()
121 args->start = start; in find_any_symbol_cb()
131 return -1; in kallsyms__get_function_start()
143 return -1; in kallsyms__get_symbol_start()
150 struct perf_record_stat_config *event) in perf_event__read_stat_config() argument
[all …]
Dsession.c1 // SPDX-License-Identifier: GPL-2.0
31 #include "thread-stack.h"
32 #include "sample-raw.h"
43 union perf_event *event,
50 struct perf_data *data = session->data; in perf_session__open()
53 pr_err("incompatible file format (rerun with -v to learn more)\n"); in perf_session__open()
54 return -1; in perf_session__open()
57 if (perf_header__has_feat(&session->header, HEADER_AUXTRACE)) { in perf_session__open()
65 if (perf_header__has_feat(&session->header, HEADER_STAT)) in perf_session__open()
68 if (!evlist__valid_sample_type(session->evlist)) { in perf_session__open()
[all …]
/linux-6.12.1/Documentation/trace/
Dboottime-trace.rst1 .. SPDX-License-Identifier: GPL-2.0
4 Boot-time tracing
12 Boot-time tracing allows users to trace boot-time process including
13 device initialization with full features of ftrace including per-event
14 filter and actions, histograms, kprobe-events and synthetic-events,
27 .. [1] See :ref:`Documentation/admin-guide/bootconfig.rst <bootconfig>`
28 .. [2] See :ref:`Documentation/admin-guide/kernel-parameters.rst <kernelparameters>`
31 ---------------------
37 Output trace-event data on printk buffer too.
53 Add fgraph non-tracing function filters.
[all …]
/linux-6.12.1/net/sctp/
Dulpevent.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * Copyright (c) 1999-2000 Cisco, Inc.
5 * Copyright (c) 1999-2001 Motorola, Inc.
10 * These functions manipulate an sctp event. The struct ulpevent is used
15 * lksctp developers <linux-sctp@vger.kernel.org>
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
[all …]
/linux-6.12.1/drivers/perf/
Driscv_pmu.c1 // SPDX-License-Identifier: GPL-2.0
3 * RISC-V performance counter support.
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
[all …]
/linux-6.12.1/fs/notify/
Dnotification.c1 // SPDX-License-Identifier: GPL-2.0-or-later
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
41 * fsnotify_get_cookie - return a unique cookie for use in synchronizing events.
51 struct fsnotify_event *event) in fsnotify_destroy_event() argument
53 /* Overflow events are per-group and we don't want to free them */ in fsnotify_destroy_event()
54 if (!event || event == group->overflow_event) in fsnotify_destroy_event()
[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 …]
/linux-6.12.1/tools/testing/selftests/powerpc/pmu/ebb/
Devent_attributes_test.c1 // SPDX-License-Identifier: GPL-2.0-only
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()
[all …]
/linux-6.12.1/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfweh.c1 // SPDX-License-Identifier: ISC
20 * 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.
41 * struct brcmf_fweh_event_name - code, name mapping entry.
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.
[all …]
/linux-6.12.1/drivers/net/wireless/marvell/mwifiex/
Duap_event.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * NXP Wireless LAN device driver: AP event handling
5 * Copyright 2011-2020 NXP
15 struct sk_buff *event) in mwifiex_check_uap_capabilities() argument
24 priv->wmm_enabled = false; in mwifiex_check_uap_capabilities()
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()
29 mwifiex_dbg_dump(priv->adapter, EVT_D, "uap capabilities:", in mwifiex_check_uap_capabilities()
30 event->data, event->len); in mwifiex_check_uap_capabilities()
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/net/wireless/
Dqcom,ath11k.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 # Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Kalle Valo <kvalo@kernel.org>
12 - Jeff Johnson <jjohnson@kernel.org>
21 - qcom,ipq8074-wifi
22 - qcom,ipq6018-wifi
23 - qcom,wcn6750-wifi
24 - qcom,ipq5018-wifi
[all …]
/linux-6.12.1/arch/s390/kernel/
Dperf_pai_ext.c1 // SPDX-License-Identifier: GPL-2.0
3 * Performance event support - Processor Activity Instrumentation Extension
49 struct pai_userdata *save; /* Area to store non-zero counters */
52 struct perf_event *event; /* Perf event for sampling */ member
54 struct list_head syswide_list; /* List system-wide sampling events */
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()
93 return -ENOMEM; in paiext_root_alloc()
109 /* Free all memory allocated for event counting/sampling setup */
[all …]
/linux-6.12.1/tools/perf/pmu-events/arch/x86/amdzen1/
Dfloating-point.json5 "BriefDescription": "Total number multi-pipe uOps assigned to all pipes.",
6-pipe uOps dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the F…
12 "BriefDescription": "Total number multi-pipe uOps assigned to pipe 3.",
13-pipe uOps dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the F…
19 "BriefDescription": "Total number multi-pipe uOps assigned to pipe 2.",
20-pipe uOps dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the F…
26 "BriefDescription": "Total number multi-pipe uOps assigned to pipe 1.",
27-pipe uOps dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the F…
33 "BriefDescription": "Total number multi-pipe uOps assigned to pipe 0.",
34-pipe uOps dispatched to each of the 4 FPU execution pipelines. This event reflects how busy the F…
[all …]
/linux-6.12.1/arch/powerpc/kernel/
Deeh_event.c1 // SPDX-License-Identifier: GPL-2.0-or-later
15 #include <asm/ppc-pci.h>
21 * This pair of routines creates an event and queues it onto a
22 * work-queue, where a worker thread can drive recovery.
30 * eeh_event_handler - Dispatch EEH events.
31 * @dummy - unused
36 * of the interrupt handler, and re-dispatch them for processing
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()
[all …]
/linux-6.12.1/drivers/firmware/
Darm_sdei.c1 // SPDX-License-Identifier: GPL-2.0
8 #include <linux/arm-smccc.h>
58 /* This pointer is handed to firmware as the event argument. */
77 struct sdei_event *event; member
82 #define CROSSCALL_INIT(arg, event) \ argument
84 arg.event = event; \
90 struct sdei_event *event) in sdei_do_local_call() argument
94 CROSSCALL_INIT(arg, event); in sdei_do_local_call()
101 struct sdei_event *event) in sdei_do_cross_call() argument
105 CROSSCALL_INIT(arg, event); in sdei_do_cross_call()
[all …]

12345678910>>...44