| /linux/arch/powerpc/perf/ |
| H A D | power7-events-list.h | 1 /* 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 …]
|
| H A D | power9-events-list.h | 1 /* 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 …]
|
| H A D | power8-events-list.h | 1 /* 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 …]
|
| H A D | power10-events-list.h | 1 /* 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/tools/testing/selftests/powerpc/pmu/event_code_tests/ |
| H A D | generic_events_valid_test.c | 1 // 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 30 * - PERF_COUNT_HW_BUS_CYCLE in generic_events_valid_test() [all...] |
| H A D | hw_cache_event_type_test.c | 1 // 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/drivers/gpu/drm/nouveau/nvkm/core/ |
| H A D | event.c | 2 * 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/kernel/events/ |
| H A D | core.c | 1 // 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 58 #include <linux/percpu-rwsem.h> 76 struct task_struct *p = tfc->p; in remote_function() 79 /* -EAGAIN */ in remote_function() 88 tfc->ret = -ESRCH; /* No such (running) process */ in remote_function() 93 tfc->ret = tfc->func(tfc->info); in remote_function() 97 * task_function_call - call a function on the cpu on which a task runs 107 * returns @func return value or -ESRCH or -ENXIO when the process isn't running [all …]
|
| /linux/tools/perf/pmu-events/arch/arm64/fujitsu/monaka/ |
| H A D | fp_operation.json | 5 … "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 D | sve.json | 4 …"This event counts architecturally executed SIMD instructions, excluding the Advanced SIMD scalar … 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 …cription": "This event counts architecturally executed operations due to scalar, Advanced SIMD, an… 32 …"BriefDescription": "This event counts architecturally executed floating-point fused multiply-add … 36 …"BriefDescription": "This event counts architecturally executed floating-point reciprocal estimate… 40 …event counts architecturally executed floating-point convert operations due to the scalar, Advance… [all …]
|
| H A D | spec_operation.json | 4 …"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 D | session.c | 1 // SPDX-License-Identifier: GPL-2.0 15 #include <perf/event.h> 32 #include "thread-stack.h" 33 #include "sample-raw.h" 45 union perf_event *event, 52 struct perf_data *data = session->data; in perf_session__open() 55 pr_err("incompatible file format (rerun with -v to learn more)\n"); in perf_session__open() 56 return -1; in perf_session__open() 59 if (perf_header__has_feat(&session->header, HEADER_AUXTRACE)) { in perf_session__open() 67 if (perf_header__has_feat(&session->header, HEADER_STAT)) in perf_session__open() [all …]
|
| H A D | event.c | 8 #include <perf/event.h> 18 #include "event.h" 27 #include "time-utils.h" 36 #include "bpf-event.h" 111 type == 'A') || strcmp(name, args->name)) in find_func_symbol_cb() 114 args->start = start; in find_func_symbol_cb() 123 if (strcmp(name, args->name)) in find_any_symbol_cb() 126 args->start = start; in find_any_symbol_cb() 136 return -1; in kallsyms__get_function_start() 148 return -1; in kallsyms__get_symbol_start() [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-event_source-devices-dfl_fme | 5 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/net/sctp/ |
| H A D | ulpevent.c | 1 // 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/drivers/perf/ |
| H A D | riscv_pmu.c | 1 // 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/drivers/net/wireless/marvell/mwifiex/ |
| H A D | uap_event.c | 1 // 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 …]
|
| H A D | sta_event.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * NXP Wireless LAN device driver: station event handling 5 * Copyright 2011-2020 NXP 20 struct sk_buff *event) in mwifiex_check_ibss_peer_capabilities() argument 29 skb_pull(event, MWIFIEX_IBSS_CONNECT_EVT_FIX_SIZE); in mwifiex_check_ibss_peer_capabilities() 30 evt_len = event->len; in mwifiex_check_ibss_peer_capabilities() 31 curr = event->data; in mwifiex_check_ibss_peer_capabilities() 33 mwifiex_dbg_dump(priv->adapter, EVT_D, "ibss peer capabilities:", in mwifiex_check_ibss_peer_capabilities() 34 event->data, event->len); in mwifiex_check_ibss_peer_capabilities() 36 skb_push(event, MWIFIEX_IBSS_CONNECT_EVT_FIX_SIZE); in mwifiex_check_ibss_peer_capabilities() [all …]
|
| /linux/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/ |
| H A D | other.json | 3 "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/fs/notify/ |
| H A D | notification.c | 1 // 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/tools/testing/selftests/powerpc/pmu/ebb/ |
| H A D | event_attributes_test.c | 1 // 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/Documentation/devicetree/bindings/net/wireless/ |
| H A D | qcom,ath11k.yaml | 1 # 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 - Jeff Johnson <jjohnson@kernel.org> 20 - qcom,ipq8074-wifi 21 - qcom,ipq6018-wifi 22 - qcom,wcn6750-wifi 23 - qcom,ipq5018-wifi 32 interrupt-names: [all …]
|
| /linux/arch/s390/kernel/ |
| H A D | perf_pai_ext.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Performance event support - Processor Activity Instrumentation Extension 48 struct pai_userdata *save; /* Area to store non-zero counters */ 51 struct perf_event *event; /* Perf event for sampling */ member 53 struct list_head syswide_list; /* List system-wide sampling events */ 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() 92 return -ENOMEM; in paiext_root_alloc() 108 /* Free all memory allocated for event counting/sampling setup */ [all …]
|
| /linux/tools/perf/pmu-events/arch/x86/amdzen1/ |
| H A D | floating-point.json | 5 "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/arch/powerpc/kernel/ |
| H A D | eeh_event.c | 1 // 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 …]
|