Home
last modified time | relevance | path

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

123

/linux/Documentation/devicetree/bindings/arm/
H A 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 …]
/linux/Documentation/trace/coresight/
H A 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/drivers/hwtracing/coresight/
H A 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 …]
H A 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.
23 #include "coresight-self-hosted-trace.h"
24 #include "coresight-trbe.h"
26 #define PERF_IDX2OFF(idx, buf) ((idx) % ((buf)->nr_pages << PAGE_SHIFT))
30 * in skipping relevant sections in the captured trace
32 * formatting the trace data, unlike the legacy CoreSight
[all …]
H A 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/arch/arm64/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
279 ARM 64-bit (AArch64) Linux support.
287 # required due to use of the -Zfixed-x18 flag.
290 # -Zsanitizer=shadow-call-stack flag.
300 depends on $(cc-option,-fpatchable-function-entry=2)
326 # VA_BITS - PAGE_SHIFT - 3
404 def_bool !$(as-instr,1:\n.inst 0\n.rept . - 1b\n\nnop\n.endr\n)
409 # https://github.com/llvm/llvm-project/commit/2a96f47c5ffca84cd774ad402cacd137f4bf45e2
459 at stage-2.
467 …bool "Cortex-A53: 826319: System might deadlock if a write cannot complete until read data is acce…
[all …]
/linux/Documentation/devicetree/bindings/perf/
H A 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/Documentation/userspace-api/media/drivers/
H A 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/Documentation/mm/
H A 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/tools/include/perf/
H A 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/include/linux/perf/
H A 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/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A 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/sound/soc/sof/
H A 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/arch/arm/mm/
H A 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/tools/include/uapi/linux/
H A 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/include/net/9p/
H A 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/drivers/staging/media/atomisp/pci/
H A Dsh_css_internal.h1 /* SPDX-License-Identifier: GPL-2.0 */
31 #include "ia_css_circbuf_comm.h" /* Circular buffer */
98 #define CALC_ALIGNMENT_MEMBER(x, y) (CEIL_MUL(x, y) - x)
168 /* Note that the struct below should only consist of ia_css_ptr-es
279 trace[SH_CSS_SP_DBG_TRACE_DEPTH]; member
284 /* Example of just one global trace */
298 trace[SH_CSS_SP_DBG_NR_OF_TRACES][SH_CSS_SP_DBG_TRACE_DEPTH]; member
316 * The DMA software-mask,
319 * Bit 15...08: reading-request enabling bits for DMA channel 7..0
320 * Bit 07...00: writing-request enabling bits for DMA channel 7..0
[all …]
/linux/tools/perf/Documentation/
H A Dperf-intel-pt.txt1 perf-intel-pt(1)
5 ----
6 perf-intel-pt - Support for Intel Processor Trace withi
[all...]
/linux/Documentation/filesystems/
H A D9p.rst1 .. SPDX-License-Identifier: GPL-2.0
26 http://xcpu.org/papers/xcpu-talk.pdf
30 http://xcpu.org/papers/cellfs-talk.pdf
33 * VirtFS: A Virtualization Aware File System pass-through
34 https://kernel.org/doc/ols/2010/ols2010-pages-109-120.pdf
41 mount -t 9p 10.10.1.2 /mnt/9
45 mount -t 9p `namespace`/acme /mnt/9 -o trans=unix,uname=$USER
49 mount -t 9p -o trans=virtio <mount_tag> /mnt/9
61 mount -t 9p -o trans=usbg,aname=/path/to/fs <device> /mnt/9
89 Just start the 9pfs capable network server like diod/nfs-ganesha e.g.::
[all …]
H A Drelay.rst1 .. SPDX-License-Identifier: GPL-2.0
9 to userspace via user-defined 'relay channels'.
11 A 'relay channel' is a kernel->user data relay mechanism implemented
12 as a set of per-cpu kernel buffers ('channel buffers'), each
16 buffer. User space applications mmap() or read() from the relay files
24 buffer data. The relay interface doesn't implement any form of data
25 filtering - this also is left to the kernel client. The purpose is to
30 functions in the relay interface code - please see that for details.
35 Each relay channel has one buffer per CPU, each buffer has one or more
36 sub-buffers. Messages are written to the first sub-buffer until it is
[all …]
/linux/net/9p/
H A Dprotocol.c1 // SPDX-License-Identifier: GPL-2.0-only
24 #include <trace/events/9p.h>
31 * p9_msg_buf_size - Returns a buffer size sufficiently large to hold the
53 c->proto_version == p9_proto_2000L ? rlerror_size : rerror_size; in p9_msg_buf_size()
106 if (c->proto_version == p9_proto_legacy) { in p9_msg_buf_size()
114 /* fid[4] name[s] perm[4] mode[1] extension[s] */ in p9_msg_buf_size()
198 kfree(stbuf->name); in p9stat_free()
199 stbuf->name = NULL; in p9stat_free()
200 kfree(stbuf->uid); in p9stat_free()
201 stbuf->uid = NULL; in p9stat_free()
[all …]
/linux/net/ipv6/
H A Dexthdrs.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Extension Header handling for IPv6
16 * YOSHIFUJI Hideaki @USAGI Register inbound extension header
90 if (ipv6_addr_is_multicast(&ipv6_hdr(skb)->daddr)) in ip6_tlvopt_unknown()
112 /* Parse tlv encoded option header (hop-by-hop or destination) */
127 max_count = -max_count; in ip6_parse_tlv()
131 len -= 2; in ip6_parse_tlv()
141 len--; in ip6_parse_tlv()
216 len -= optlen; in ip6_parse_tlv()
239 if (opt->dsthao) { in ipv6_dest_hao()
[all …]
/linux/kernel/bpf/
H A Dlog.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com
19 if (!!log->ubuf != !!log->len_total) in bpf_verifier_log_attr_valid()
22 if (log->ubuf && log->level == 0) in bpf_verifier_log_attr_valid()
24 if (log->level & ~BPF_LOG_MASK) in bpf_verifier_log_attr_valid()
26 if (log->len_total > UINT_MAX >> 2) in bpf_verifier_log_attr_valid()
34 log->level = log_level; in bpf_vlog_init()
35 log->ubuf = log_buf; in bpf_vlog_init()
36 log->len_total = log_size; in bpf_vlog_init()
40 return -EINVAL; in bpf_vlog_init()
[all …]
/linux/net/rds/
H A Drds.h1 /* SPDX-License-Identifier: GPL-2.0 */
56 /* Used to limit both RDMA and non-RDMA RDS message to 1MB */
96 #define RDS_MPATH_HASH(rs, n) (jhash_1word((rs)->rs_bound_port, \
97 (rs)->rs_hash_initval) & ((n) - 1))
176 return read_pnet(&conn->c_net); in rds_conn_net()
182 write_pnet(&conn->c_net, net); in rds_conn_net_set()
202 * Maximum space available for extension headers.
221 * Reserved - indicates end of extensions
226 * This extension header is included in the very
241 * This extension header is included in the RDS message
[all …]
/linux/drivers/ata/
H A Dpata_octeon_cf.c8 * Copyright (C) 2005 - 2012 Cavium Inc.
23 #include <trace/events/libata.h>
31 * -- 8 bits no irq, no DMA
32 * -- 16 bits no irq, no DMA
33 * -- 16 bits True IDE mode with DMA, but no irq.
110 reg_cfg.s.we_ext = 0; /* No write enable extension */ in octeon_cf_set_boot_reg_cfg()
111 reg_cfg.s.oe_ext = 0; /* No read enable extension */ in octeon_cf_set_boot_reg_cfg()
128 struct octeon_cf_port *cf_port = ap->private_data; in octeon_cf_set_piomode()
150 BUG_ON(ata_timing_compute(dev, dev->pio_mode, &timing, T, T)); in octeon_cf_set_piomode()
154 t2--; in octeon_cf_set_piomode()
[all …]

123