Home
last modified time | relevance | path

Searched +full:trace +full:- +full:buffer +full:- +full:extension (Results 1 – 25 of 81) sorted by relevance

1234

/linux-6.12.1/Documentation/devicetree/bindings/arm/
Darm,trace-buffer-extension.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 ---
5 $id: http://devicetree.org/schemas/arm/arm,trace-buffer-extension.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: ARM Trace Buffer Extensions
11 - Anshuman Khandual <anshuman.khandual@arm.com>
14 Arm Trace Buffer Extension (TRBE) is a per CPU component
15 for storing trace generated on the CPU to memory. It is
26 - const: arm,trace-buffer-extension
32 the arm,gic-v3 binding for details on describing a PPI partition.
[all …]
Darm,embedded-trace-extension.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 ---
5 $id: http://devicetree.org/schemas/arm/arm,embedded-trace-extension.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: ARM Embedded Trace Extensions
11 - Suzuki K Poulose <suzuki.poulose@arm.com>
12 - Mathieu Poirier <mathieu.poirier@linaro.org>
15 Arm Embedded Trace Extension(ETE) is a per CPU trace component that
18 The trace generated by the ETE could be stored via legacy CoreSight
19 components (e.g, TMC-ETR) or other means (e.g, using a per CPU buffer
[all …]
/linux-6.12.1/Documentation/trace/coresight/
Dcoresight-trbe.rst1 .. SPDX-License-Identifier: GPL-2.0
4 Trace Buffer Extension (TRBE).
11 --------------------
13 Trace Buffer Extension (TRBE) is a percpu hardware which captures in system
15 gets plugged in as a coresight sink device because the corresponding trace
23 ---------------------------
36 *Key file items are:-*
/linux-6.12.1/drivers/hwtracing/coresight/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
14 and trace drivers to register themselves with. It's intended to build
17 trace source gets enabled.
27 responsible for transporting and collecting the trace data
28 respectively. Link and sinks are dynamically aggregated with a trace
29 entity at run time to form a complete trace path.
32 modules will be called coresight-funnel and coresight-replicator.
39 This enables support for the Trace Memory Controller driver.
41 trace router - ETR) or sink (embedded trace FIFO). The driver
46 module will be called coresight-tmc.
[all …]
Dcoresight-trbe.c1 // SPDX-License-Identifier: GPL-2.0
3 * This driver enables Trace Buffer Extension (TRBE) as a per-cpu coresight
4 * sink device could then pair with an appropriate per-cpu coresight source
5 * device (ETE) thus generating required trace data. Trace can be enabled
8 * The AUX buffer handling is inspired from Arm SPE PMU driver.
22 #include "coresight-self-hosted-trace.h"
23 #include "coresight-trbe.h"
25 #define PERF_IDX2OFF(idx, buf) ((idx) % ((buf)->nr_pages << PAGE_SHIFT))
29 * in skipping relevant sections in the captured trace
31 * formatting the trace data, unlike the legacy CoreSight
[all …]
Dcoresight-trbe.h1 /* SPDX-License-Identifier: GPL-2.0 */
4 * Trace Buffer Extension (TRBE) driver in the coresight framework.
20 #include "coresight-etm-perf.h"
/linux-6.12.1/Documentation/devicetree/bindings/perf/
Dspe-pmu.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/perf/spe-pmu.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ARMv8.2 Statistical Profiling Extension (SPE) Performance Monitor Units (PMU)
10 - Will Deacon <will@kernel.org>
13 ARMv8.2 introduces the optional Statistical Profiling Extension for collecting
14 performance sample data using an in-memory trace buffer.
18 const: arm,statistical-profiling-extension-v1
24 supported on a subset of the CPUs, please consult the arm,gic-v3 binding
[all …]
/linux-6.12.1/arch/arm64/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
272 ARM 64-bit (AArch64) Linux support.
280 # required due to use of the -Zfixed-x18 flag.
283 # -Zsanitizer=shadow-call-stack flag.
293 depends on $(cc-option,-fpatchable-function-entry=2)
319 # VA_BITS - PAGE_SHIFT - 3
397 def_bool !$(as-instr,1:\n.inst 0\n.rept . - 1b\n\nnop\n.endr\n)
402 # https://github.com/llvm/llvm-project/commit/2a96f47c5ffca84cd774ad402cacd137f4bf45e2
452 at stage-2.
460 …bool "Cortex-A53: 826319: System might deadlock if a write cannot complete until read data is acce…
[all …]
/linux-6.12.1/Documentation/userspace-api/media/drivers/
Duvcvideo.rst1 .. SPDX-License-Identifier: GPL-2.0
6 This file documents some driver-specific aspects of the UVC driver, such as
7 driver-specific ioctls and implementation notes.
10 linux-media@vger.kernel.org.
13 Extension Unit (XU) support
14 ---------------------------
19 The UVC specification allows for vendor-specific extensions through extension
20 units (XUs). The Linux UVC driver supports extension unit controls (XU controls)
23 - through mappings of XU controls to V4L2 controls
24 - through a driver-specific ioctl interface
[all …]
/linux-6.12.1/Documentation/mm/
Dpage_owner.rst17 to enlarge the trace buffer for preventing overlapping until userspace
18 program launched. And, launched program continually dump out the trace
19 buffer for later analysis and it would change system behaviour with more
50 stores information into the memory from struct page extension. This memory
57 more accurately. On 2GB memory x86-64 VM box, 13343 early allocated pages
59 page extension feature. Anyway, after that, no page is left in
60 un-tracking state.
65 1) Build user-space helper::
149 If you want to sort by the page nums of buf, use the ``-m`` parameter.
155 -a Sort by memory allocation time.
[all …]
/linux-6.12.1/Documentation/trace/
Dhisi-ptt.rst1 .. SPDX-License-Identifier: GPL-2.0
4 HiSilicon PCIe Tune and Trace device
10 HiSilicon PCIe tune and trace device (PTT) is a PCIe Root Complex
13 and trace the TLP headers (trace). The two functions are independent,
23 +--------------Core 0-------+
25 | | [Root Port]---[Endpoint]
26 | | [Root Port]---[Endpoint]
27 | | [Root Port]---[Endpoint]
28 Root Complex |------Core 1-------+
30 | | [Root Port]---[ Switch ]---[Endpoint]
[all …]
/linux-6.12.1/tools/include/perf/
Darm_pmuv3.h1 /* SPDX-License-Identifier: GPL-2.0 */
13 #define ARMV8_PMU_COUNTER_MASK (ARMV8_PMU_MAX_COUNTERS - 1)
83 /* Statistical profiling extension microarchitectural events */
93 /* long-latency read miss events */
99 /* Trace buffer events */
103 /* Trace unit events */
118 /* Armv8.5 Memory Tagging Extension events */
211 * Per-CPU PMCR: config reg
218 #define ARMV8_PMU_PMCR_DP (1 << 5) /* Disable CCNT if non-invasive debug*/
/linux-6.12.1/include/linux/perf/
Darm_pmuv3.h1 /* SPDX-License-Identifier: GPL-2.0 */
81 /* Statistical profiling extension microarchitectural events */
91 /* long-latency read miss events */
97 /* Trace buffer events */
101 /* Trace unit events */
116 /* Armv8.5 Memory Tagging Extension events */
209 * Per-CPU PMCR: config reg
216 #define ARMV8_PMU_PMCR_DP (1 << 5) /* Disable CCNT if non-invasive debug*/
/linux-6.12.1/drivers/media/usb/uvc/
Duvc_driver.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * uvc_driver.c -- USB Video Class driver
5 * Copyright (C) 2005-2010
24 #include <media/v4l2-common.h>
25 #include <media/v4l2-ioctl.h>
36 static unsigned int uvc_quirks_param = -1;
40 /* ------------------------------------------------------------------------
50 for (i = 0; i < alts->desc.bNumEndpoints; ++i) { in uvc_find_endpoint()
51 ep = &alts->endpoint[i]; in uvc_find_endpoint()
52 if (ep->desc.bEndpointAddress == epaddr) in uvc_find_endpoint()
[all …]
/linux-6.12.1/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfirmware.c1 // SPDX-License-Identifier: ISC
36 * struct nvram_parser - internal info for parser.
39 * @data: input buffer being parsed.
40 * @nvram: output buffer with parse result.
44 * @pos: byte offset in input buffer.
67 * is_nvram_char() - check if char is a valid one for NVRAM entry
91 c = nvp->data[nvp->pos]; in brcmf_nvram_handle_idle()
99 nvp->entry = nvp->pos; in brcmf_nvram_handle_idle()
103 nvp->line, nvp->column); in brcmf_nvram_handle_idle()
105 nvp->column++; in brcmf_nvram_handle_idle()
[all …]
/linux-6.12.1/kernel/trace/
Dtrace_functions_graph.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2008-2009 Frederic Weisbecker <fweisbec@gmail.com>
16 #include "trace.h"
45 /* Display overruns? (for self-debug purpose) */
46 { TRACER_OPT(funcgraph-overrun, TRACE_GRAPH_PRINT_OVERRUN) },
48 { TRACER_OPT(funcgraph-cpu, TRACE_GRAPH_PRINT_CPU) },
50 { TRACER_OPT(funcgraph-overhead, TRACE_GRAPH_PRINT_OVERHEAD) },
52 { TRACER_OPT(funcgraph-proc, TRACE_GRAPH_PRINT_PROC) },
54 { TRACER_OPT(funcgraph-duration, TRACE_GRAPH_PRINT_DURATION) },
56 { TRACER_OPT(funcgraph-abstime, TRACE_GRAPH_PRINT_ABS_TIME) },
[all …]
/linux-6.12.1/drivers/perf/
Darm_spe_pmu.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Perf support for the Statistical Profiling Extension, introduced as
43 * Cache if the event is allowed to trace Context information.
53 if (IS_ENABLED(CONFIG_PID_IN_CONTEXTIDR) && !perf_allow_kernel(&event->attr)) in set_spe_event_has_cx()
54 event->hw.flags |= SPE_PMU_HW_FLAGS_CX; in set_spe_event_has_cx()
59 return !!(event->hw.flags & SPE_PMU_HW_FLAGS_CX); in get_spe_event_has_cx()
98 /* Convert a free-running index from perf into an SPE buffer offset */
99 #define PERF_IDX2OFF(idx, buf) ((idx) % ((buf)->nr_pages << PAGE_SHIFT))
127 return !!(spe_pmu->features & arm_spe_pmu_feat_caps[cap]); in arm_spe_pmu_cap_get()
131 return spe_pmu->counter_sz; in arm_spe_pmu_cap_get()
[all …]
/linux-6.12.1/sound/soc/sof/
Dipc4-mtrace.c1 // SPDX-License-Identifier: GPL-2.0-only
9 #include "sof-priv.h"
10 #include "ipc4-priv.h"
15 * ------------------------
16 * | Page0 - descriptors |
17 * ------------------------
18 * | Page1 - slot0 |
19 * ------------------------
20 * | Page2 - slot1 |
21 * ------------------------
[all …]
/linux-6.12.1/arch/arm/mm/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
17 A 32-bit RISC microprocessor based on the ARM7 processor core
36 A 32-bit RISC processor with 8kByte Cache, Write Buffer and
53 A 32-bit RISC processor with 8KB cache or 4KB variants,
54 write buffer and MPU(Protection Unit) built around
69 A 32-bit RISC microprocessor based on the ARM9 processor core
166 Branch Target Buffer, Unified TLB and cache line size 16.
182 ARM940T is a member of the ARM9TDMI family of general-
184 instruction and 4KB data cases, each with a 4-word line
190 # ARM946E-S
[all …]
/linux-6.12.1/include/uapi/linux/
Dperf_event.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
5 * Copyright (C) 2008-2009, Thomas Gleixner <tglx@linutronix.de>
6 * Copyright (C) 2008-2011, Red Hat, Inc., Ingo Molnar
7 * Copyright (C) 2008-2011, Red Hat, Inc., Peter Zijlstra
13 * For licencing details see kernel-base/COPYING
23 * User-space ABI bits:
37 PERF_TYPE_MAX, /* non-ABI */
75 PERF_COUNT_HW_MAX, /* non-ABI */
81 * { L1-D, L1-I, LLC, ITLB, DTLB, BPU, NODE } x
94 PERF_COUNT_HW_CACHE_MAX, /* non-ABI */
[all …]
/linux-6.12.1/tools/include/uapi/linux/
Dperf_event.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
5 * Copyright (C) 2008-2009, Thomas Gleixner <tglx@linutronix.de>
6 * Copyright (C) 2008-2011, Red Hat, Inc., Ingo Molnar
7 * Copyright (C) 2008-2011, Red Hat, Inc., Peter Zijlstra
13 * For licencing details see kernel-base/COPYING
23 * User-space ABI bits:
37 PERF_TYPE_MAX, /* non-ABI */
75 PERF_COUNT_HW_MAX, /* non-ABI */
81 * { L1-D, L1-I, LLC, ITLB, DTLB, BPU, NODE } x
94 PERF_COUNT_HW_CACHE_MAX, /* non-ABI */
[all …]
/linux-6.12.1/include/net/9p/
D9p.h1 /* SPDX-License-Identifier: GPL-2.0-only */
14 * enum p9_debug_flags - bits for mount time debug parameter
19 * @P9_DEBUG_MUX: trace management of concurrent transactions
25 * @P9_DEBUG_FSC: FS-cache tracing
62 * enum p9_msg_t - 9P message types
112 * See Also: http://plan9.bell-labs.com/sys/man/5/INDEX.html
187 * enum p9_open_mode_t - 9P open modes
192 * @P9_OTRUNC: truncate file to zero-length before opening it
205 * See Also: http://plan9.bell-labs.com/magic/man2html/2/open
225 * enum p9_perm_t - 9P permissions
[all …]
/linux-6.12.1/drivers/hwtracing/ptt/
Dhisi_ptt.c1 // SPDX-License-Identifier: GPL-2.0
3 * Driver for HiSilicon PCIe tune and trace device
13 #include <linux/dma-mapping.h>
31 return !readl_poll_timeout(hisi_ptt->iobase + HISI_PTT_TUNING_INT_STAT, in hisi_ptt_wait_tuning_finish()
48 desc = ext_attr->var; in hisi_ptt_tune_attr_show()
50 mutex_lock(&hisi_ptt->tune_lock); in hisi_ptt_tune_attr_show()
52 reg = readl(hisi_ptt->iobase + HISI_PTT_TUNING_CTRL); in hisi_ptt_tune_attr_show()
55 desc->event_code); in hisi_ptt_tune_attr_show()
56 writel(reg, hisi_ptt->iobase + HISI_PTT_TUNING_CTRL); in hisi_ptt_tune_attr_show()
59 writel(~0U, hisi_ptt->iobase + HISI_PTT_TUNING_DATA); in hisi_ptt_tune_attr_show()
[all …]
/linux-6.12.1/drivers/staging/media/atomisp/pci/
Dsh_css_internal.h1 /* SPDX-License-Identifier: GPL-2.0 */
40 #include "ia_css_circbuf_comm.h" /* Circular buffer */
107 #define CALC_ALIGNMENT_MEMBER(x, y) (CEIL_MUL(x, y) - x)
177 /* Note that the struct below should only consist of ia_css_ptr-es
288 trace[SH_CSS_SP_DBG_TRACE_DEPTH]; member
293 /* Example of just one global trace */
307 trace[SH_CSS_SP_DBG_NR_OF_TRACES][SH_CSS_SP_DBG_TRACE_DEPTH]; member
325 * The DMA software-mask,
328 * Bit 15...08: reading-request enabling bits for DMA channel 7..0
329 * Bit 07...00: writing-request enabling bits for DMA channel 7..0
[all …]
/linux-6.12.1/tools/perf/Documentation/
Dperf-intel-pt.txt1 perf-intel-pt(1)
5 ----
6 perf-intel-pt - Support for Intel Processor Trace within perf tools
9 --------
11 'perf record' -e intel_pt//
14 -----------
16 Intel Processor Trace (Intel PT) is an extension of Intel Architecture that
19 Technical details are documented in the Intel 64 and IA-32 Architectures
20 Software Developer Manuals, Chapter 36 Intel Processor Trace.
23 processors that are based on the Intel micro-architecture code name Broadwell.
[all …]

1234