Home
last modified time | relevance | path

Searched +full:down +full:- +full:counters (Results 1 – 25 of 1015) sorted by relevance

12345678910>>...41

/kernel/linux/linux-5.10/tools/perf/Documentation/
Dtopdown.txt2 -----------------------------------
5 methology to break down CPU pipeline execution into 4 bottlenecks:
10 Traditionally this was implemented by events in generic counters
13 perf stat --topdown implements this.
15 Full Top Down includes more levels that can break down the
24 fixed counters and do not require generic counters. This allows
27 % perf stat -a --topdown -I1000
64 metric event, and allow user programs to read the performance counters.
94 int slots_fd = perf_event_open(&slots, 0, -1, -1, 0);
109 int metrics_fd = perf_event_open(&metrics, 0, -1, slots_fd, 0);
[all …]
/kernel/linux/linux-6.6/tools/perf/pmu-events/arch/x86/graniterapids/
Dpipeline.json21 …is counted on a dedicated fixed counter, leaving the eight programmable counters available for oth…
29 …, leaving the four (eight when Hyperthreading is disabled) programmable counters available for oth…
36 …is counted on a dedicated fixed counter, leaving the eight programmable counters available for oth…
48 "BriefDescription": "Number of instructions retired. Fixed Counter - architectural event",
51- an Architectural PerfMon event. Counting continues during hardware interrupts, traps, and inside…
56 "BriefDescription": "Number of instructions retired. General Counter - architectural event",
60- an Architectural PerfMon event. Counting continues during hardware interrupts, traps, and inside…
72 … the Topdown Slots event that were not consumed by the back-end pipeline due to lack of back-end r…
75-end pipeline due to lack of back-end resources, as a result of memory subsystem delays, execution…
80 …"BriefDescription": "TMA slots available for an unhalted logical processor. Fixed counter - archit…
[all …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-bus-pci-devices-aer_stats2 --------------------------
5 statistical counters indicate the errors "as seen/reported by the device".
7 counters may increment at its link partner (e.g. root port) because the
9 problematic endpoint itself (which may report all counters as 0 as it never
15 Contact: linux-pci@vger.kernel.org, rajatja@google.com
28 Advisory Non-Fatal 0
36 Contact: linux-pci@vger.kernel.org, rajatja@google.com
46 Surprise Down Error 0
66 Contact: linux-pci@vger.kernel.org, rajatja@google.com
76 Surprise Down Error 0
[all …]
/kernel/linux/linux-6.6/Documentation/ABI/testing/
Dsysfs-bus-pci-devices-aer_stats2 --------------------------
5 statistical counters indicate the errors "as seen/reported by the device".
7 counters may increment at its link partner (e.g. root port) because the
9 problematic endpoint itself (which may report all counters as 0 as it never
15 Contact: linux-pci@vger.kernel.org, rajatja@google.com
28 Advisory Non-Fatal 0
36 Contact: linux-pci@vger.kernel.org, rajatja@google.com
46 Surprise Down Error 0
66 Contact: linux-pci@vger.kernel.org, rajatja@google.com
76 Surprise Down Error 0
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/netfilter/
Dnft_flowtable.sh2 # SPDX-License-Identifier: GPL-2.0
7 # Originator (MTU 9000) <-Router1-> MTU 1500 <-Router2-> Responder (MTU 2000)
14 # nft_flowtable.sh -o8000 -l1500 -r2000
17 sfx=$(mktemp -u "XXXXXXXX")
18 ns1="ns1-$sfx"
19 ns2="ns2-$sfx"
20 nsr1="nsr1-$sfx"
21 nsr2="nsr2-$sfx"
23 # Kselftest framework requirement - SKIP code is 4.
31 log_netns=$(sysctl -n net.netfilter.nf_log_all_netns)
[all …]
/kernel/linux/linux-6.6/tools/perf/Documentation/
Dperf-stat.txt1 perf-stat(1)
5 ----
6 perf-stat - Run a command and gather performance counter statistics
9 --------
11 'perf stat' [-e <EVENT> | --event=EVENT] [-a] <command>
12 'perf stat' [-e <EVENT> | --event=EVENT] [-a] \-- <command> [<options>]
13 'perf stat' [-e <EVENT> | --event=EVENT] [-a] record [-o file] \-- <command> [<options>]
14 'perf stat' report [-i file]
17 -----------
23 -------
[all …]
Dtopdown.txt2 ---------------------
11 perf stat --topdown implements this using available metrics that vary
14 % perf stat -a --topdown -I1000
28 fixed counters and do not require generic counters. This allows
53 metric event, and allow user programs to read the performance counters.
84 int slots_fd = perf_event_open(&slots, 0, -1, -1, 0);
104 int metrics_fd = perf_event_open(&metrics, 0, -1, slots_fd, 0);
123 #define RDPMC_FIXED (1 << 30) /* return fixed counters */
124 #define RDPMC_METRIC (1 << 29) /* return metric counters */
147 _rdpmc calls should not be mixed with reading the metrics and slots counters
[all …]
/kernel/linux/linux-6.6/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/
Dcounters.rst1 .. SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
5 Ethtool counters
13 - `Overview`_
14 - `Groups`_
15 - `Types`_
16 - `Descriptions`_
22 addition, each group of counters may have different counter types.
27 ----------------------------------------
29 ---------------------------------------- ---------------------------------------- |
32 | ------------------- --------------- | | ------------------- --------------- | |
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/
Dvxlan_bridge_1d.sh2 # SPDX-License-Identifier: GPL-2.0
4 # +--------------------+ +----------------------+
8 # +----|---------------+ +--|-------------------+
10 # +----|--------------------------------------------------|-------------------+
12 # | +--|--------------------------------------------------|-----------------+ |
19 # | +-----------------------------------------------------------------------+ |
26 # +----|----------------------------------------------------------------------+
28 # +----|--------------------------------------------------------+
37 # +----|---------------------------------------|----------------+
39 # +----|------------------------------+ +----|------------------------------+
[all …]
Dvxlan_bridge_1q.sh2 # SPDX-License-Identifier: GPL-2.0
4 # +-----------------------+ +------------------------+
13 # +----|------------------+ +----|-------------------+
15 # +----|--------------------------------------------------|-------------------+
17 # | +--|--------------------------------------------------|-----------------+ |
27 # | +-----------------------------------------------------------------------+ |
34 # +----|----------------------------------------------------------------------+
36 # +----|--------------------------------------------------------+
45 # +----|---------------------------------------|----------------+
47 # +----|------------------------------+ +----|------------------------------+
[all …]
Dvxlan_bridge_1q_ipv6.sh2 # SPDX-License-Identifier: GPL-2.0
4 # +-----------------------+ +------------------------+
15 # +----|------------------+ +----|-------------------+
17 # +----|--------------------------------------------------|-------------------+
19 # | +--|--------------------------------------------------|-----------------+ |
31 # | +-----------------------------------------------------------------------+ |
38 # +----|----------------------------------------------------------------------+
40 # +----|----------------------------------------------------------+
49 # +----|---------------------------------------|------------------+
51 # +----|--------------------------------+ +----|-------------------------------+
[all …]
Dvxlan_bridge_1d_ipv6.sh2 # SPDX-License-Identifier: GPL-2.0
4 # +-----------------------+ +------------------------+
9 # +----|------------------+ +----|-------------------+
11 # +----|--------------------------------------------------|-------------------+
13 # | +--|--------------------------------------------------|-----------------+ |
20 # | +-----------------------------------------------------------------------+ |
27 # +----|----------------------------------------------------------------------+
29 # +----|----------------------------------------------------------+
38 # +----|---------------------------------------|------------------+
40 # +----|--------------------------------+ +----|-------------------------------+
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/net/forwarding/
Dvxlan_bridge_1d.sh2 # SPDX-License-Identifier: GPL-2.0
4 # +--------------------+ +----------------------+
8 # +----|---------------+ +--|-------------------+
10 # +----|--------------------------------------------------|-------------------+
12 # | +--|--------------------------------------------------|-----------------+ |
19 # | +-----------------------------------------------------------------------+ |
26 # +----|----------------------------------------------------------------------+
28 # +----|--------------------------------------------------------+
37 # +----|---------------------------------------|----------------+
39 # +----|------------------------------+ +----|------------------------------+
[all …]
Dvxlan_bridge_1q.sh2 # SPDX-License-Identifier: GPL-2.0
4 # +-----------------------+ +------------------------+
13 # +----|------------------+ +----|-------------------+
15 # +----|--------------------------------------------------|-------------------+
17 # | +--|--------------------------------------------------|-----------------+ |
27 # | +-----------------------------------------------------------------------+ |
34 # +----|----------------------------------------------------------------------+
36 # +----|--------------------------------------------------------+
45 # +----|---------------------------------------|----------------+
47 # +----|------------------------------+ +----|------------------------------+
[all …]
/kernel/linux/linux-6.6/arch/arm64/kernel/
Dtopology.c61 cpu_topology[cpu].thread_id = -1; in parse_acpi_topology()
102 pr_debug("CPU%d: counters are not supported.\n", cpu); in freq_counters_valid()
108 pr_debug("CPU%d: cycle counters are not enabled.\n", cpu); in freq_counters_valid()
122 return -EINVAL; in freq_inv_set_max_ratio()
126 * Pre-compute the fixed ratio between the frequency of the constant in freq_inv_set_max_ratio()
130 * arch_max_freq_scale = ---------- * SCHED_CAPACITY_SCALE² in freq_inv_set_max_ratio()
133 * We use a factor of 2 * SCHED_CAPACITY_SHIFT -> SCHED_CAPACITY_SCALE² in freq_inv_set_max_ratio()
135 * very low reference frequencies (down to the KHz range which should in freq_inv_set_max_ratio()
142 return -EINVAL; in freq_inv_set_max_ratio()
169 * scale = ------- * -------------------- in amu_scale_freq_tick()
[all …]
/kernel/linux/linux-6.6/tools/perf/
Ddesign.txt2 Performance Counters for Linux
3 ------------------------------
5 Performance counters are special hardware registers available on most modern
7 as instructions executed, cachemisses suffered, or branches mis-predicted -
8 without slowing down the kernel or applications. These registers can also
9 trigger interrupts when a threshold number of events have passed - and can
13 hardware capabilities. It provides per task and per CPU counters, counter
15 provides "virtual" 64-bit counters, regardless of the width of the
16 underlying hardware counters.
18 Performance counters are accessed via special file descriptors.
[all …]
/kernel/linux/linux-5.10/tools/perf/
Ddesign.txt2 Performance Counters for Linux
3 ------------------------------
5 Performance counters are special hardware registers available on most modern
7 as instructions executed, cachemisses suffered, or branches mis-predicted -
8 without slowing down the kernel or applications. These registers can also
9 trigger interrupts when a threshold number of events have passed - and can
13 hardware capabilities. It provides per task and per CPU counters, counter
15 provides "virtual" 64-bit counters, regardless of the width of the
16 underlying hardware counters.
18 Performance counters are accessed via special file descriptors.
[all …]
/kernel/linux/linux-5.10/arch/mips/sibyte/common/
Dsb_tbprof.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2007 Ralf Baechle <ralf@linux-mips.org>
7 * written by Ralf Baechle <ralf@linux-mips.org>
85 * Routines for using 40-bit SCD cycle counter
89 * zclk_timer_init(0) at least every 2^40 - 1 ZCLKs.
145 u64 next = (1ULL << 40) - tb_period; in arm_tb()
156 * Unfortunately, in Pass 2 we must clear all counters to knock down in arm_tb()
158 * requires ALL of the SCD perf counters. in arm_tb()
162 /* keep counters 0,2,3,4,5,6,7 as is */ in arm_tb()
167 M_SPC_CFG_CLEAR | /* clear all counters */ in arm_tb()
[all …]
/kernel/linux/linux-6.6/arch/mips/sibyte/common/
Dsb_tbprof.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2007 Ralf Baechle <ralf@linux-mips.org>
7 * written by Ralf Baechle <ralf@linux-mips.org>
85 * Routines for using 40-bit SCD cycle counter
89 * zclk_timer_init(0) at least every 2^40 - 1 ZCLKs.
145 u64 next = (1ULL << 40) - tb_period; in arm_tb()
156 * Unfortunately, in Pass 2 we must clear all counters to knock down in arm_tb()
158 * requires ALL of the SCD perf counters. in arm_tb()
162 /* keep counters 0,2,3,4,5,6,7 as is */ in arm_tb()
167 M_SPC_CFG_CLEAR | /* clear all counters */ in arm_tb()
[all …]
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dtopology.c63 cpu_topology[cpu].thread_id = -1; in parse_acpi_topology()
96 /* Initialize counter reference per-cpu variables for the current CPU */
108 pr_debug("CPU%d: counters are not supported.\n", cpu); in freq_counters_valid()
114 pr_debug("CPU%d: cycle counters are not enabled.\n", cpu); in freq_counters_valid()
128 return -EINVAL; in freq_inv_set_max_ratio()
132 * Pre-compute the fixed ratio between the frequency of the constant in freq_inv_set_max_ratio()
136 * arch_max_freq_scale = ---------- * SCHED_CAPACITY_SCALE² in freq_inv_set_max_ratio()
139 * We use a factor of 2 * SCHED_CAPACITY_SHIFT -> SCHED_CAPACITY_SCALE² in freq_inv_set_max_ratio()
141 * very low reference frequencies (down to the KHz range which should in freq_inv_set_max_ratio()
148 return -EINVAL; in freq_inv_set_max_ratio()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dcounters.c1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB
3 * Copyright (c) 2013-2020, Mellanox Technologies inc. All rights reserved.
8 #include "counters.h"
78 static int mlx5_ib_read_counters(struct ib_counters *counters, in mlx5_ib_read_counters() argument
82 struct mlx5_ib_mcounters *mcounters = to_mcounters(counters); in mlx5_ib_read_counters()
87 mutex_lock(&mcounters->mcntrs_mutex); in mlx5_ib_read_counters()
88 if (mcounters->cntrs_max_index > read_attr->ncounters) { in mlx5_ib_read_counters()
89 ret = -EINVAL; in mlx5_ib_read_counters()
93 mread_attr.out = kcalloc(mcounters->counters_num, sizeof(u64), in mlx5_ib_read_counters()
96 ret = -ENOMEM; in mlx5_ib_read_counters()
[all …]
/kernel/linux/linux-5.10/drivers/net/dsa/microchip/
Dksz_common.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2017-2019 Microchip Technology Inc.
13 #include <linux/platform_data/microchip-ksz.h>
28 for (i = 0; i < dev->port_cnt; i++) { in ksz_update_port_member()
29 if (i == port || i == dev->cpu_port) in ksz_update_port_member()
31 p = &dev->ports[i]; in ksz_update_port_member()
32 if (!(dev->member & (1 << i))) in ksz_update_port_member()
36 if (p->stp_state == BR_STATE_FORWARDING && in ksz_update_port_member()
37 p->member != dev->member) in ksz_update_port_member()
38 dev->dev_ops->cfg_port_member(dev, i, dev->member); in ksz_update_port_member()
[all …]
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_fsops.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2005 Silicon Graphics, Inc.
41 nb = in->newblocks; in xfs_growfs_data_private()
42 if (nb < mp->m_sb.sb_dblocks) in xfs_growfs_data_private()
43 return -EINVAL; in xfs_growfs_data_private()
44 if ((error = xfs_sb_validate_fsb_count(&mp->m_sb, nb))) in xfs_growfs_data_private()
46 error = xfs_buf_read_uncached(mp->m_ddev_targp, in xfs_growfs_data_private()
47 XFS_FSB_TO_BB(mp, nb) - XFS_FSS_TO_BB(mp, 1), in xfs_growfs_data_private()
54 nb_mod = do_div(new, mp->m_sb.sb_agblocks); in xfs_growfs_data_private()
57 nagcount--; in xfs_growfs_data_private()
[all …]
/kernel/linux/linux-6.6/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_encap.h26 * - Redistributions of source code must retain the above copyright
28 * - Redistributions in binary form must reproduce the above copyright
32 * - Neither the name of Intel Corporation nor the names of its
84 #define OPA_VNIC_EMA_DATA (OPA_MGMT_MAD_SIZE - IB_MGMT_VENDOR_HDR)
118 * struct opa_vesw_info - OPA vnic switch information
119 * @fabric_id: 10-bit fabric id
120 * @vesw_id: 12-bit virtual ethernet switch id
155 * struct opa_per_veswport_info - OPA vnic per port information
171 * @non_vlan_sc_uc: sc for non-vlan unicast ethernet packets
172 * @non_vlan_vl_uc: vl for non-vlan unicast ethernet packets
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_encap.h26 * - Redistributions of source code must retain the above copyright
28 * - Redistributions in binary form must reproduce the above copyright
32 * - Neither the name of Intel Corporation nor the names of its
84 #define OPA_VNIC_EMA_DATA (OPA_MGMT_MAD_SIZE - IB_MGMT_VENDOR_HDR)
118 * struct opa_vesw_info - OPA vnic switch information
119 * @fabric_id: 10-bit fabric id
120 * @vesw_id: 12-bit virtual ethernet switch id
155 * struct opa_per_veswport_info - OPA vnic per port information
171 * @non_vlan_sc_uc: sc for non-vlan unicast ethernet packets
172 * @non_vlan_vl_uc: vl for non-vlan unicast ethernet packets
[all …]

12345678910>>...41