Home
last modified time | relevance | path

Searched +full:a +full:- +full:za +full:- +full:z (Results 1 – 25 of 35) sorted by relevance

12

/Linux-v5.15/tools/testing/selftests/ftrace/test.d/trigger/
Dtrigger-hist.tc2 # SPDX-License-Identifier: GPL-2.0
3 # description: event trigger - test histogram trigger
46 grep '{ call_site: \[[0-9a-f][0-9a-f]*\] [_a-zA-Z][_a-zA-Z]* *}' events/kmem/kmalloc/hist > /dev/nu…
51 echo "Test histogram with sym-offset modifier"
53 echo 'hist:keys=call_site.sym-offset' > events/kmem/kmalloc/trigger
55 grep '{ call_site: \[[0-9a-f][0-9a-f]*\] [_a-zA-Z][_a-zA-Z]*+0x[0-9a-f][0-9a-f]*' events/kmem/kmall…
56 fail "sym-offset modifier on kmalloc call_site did not work"
66 while [ $# -gt 1 ]; do
67 [ $1 -gt $2 ] && return 1
72 check_inc `grep -o "child_pid:[[:space:]]*[[:digit:]]*" \
[all …]
/Linux-v5.15/tools/perf/util/
Dparse-events.l3 %option bison-bridge
6 %option bison-locations
16 #include "parse-events.h"
17 #include "parse-events-bison.h"
32 yylval->num = num; in __value()
50 yylval->str = strdup(text); in str()
53 * If a text tag specified on the command line in str()
61 yylval->str = strndup(&text[1], strlen(text) - 2); in str()
84 if ((text[len - 1] == 'c' || text[len - 1] == 'o') && in isbpf_suffix()
85 text[len - 2] == '.') in isbpf_suffix()
[all …]
Ddemangle-rust.c1 // SPDX-License-Identifier: GPL-2.0
5 #include "demangle-rust.h"
16 * The last component of the path is a 64-bit hash in lowercase hex, prefixed
17 * with "h". Rust does not have a global namespace between crates, an illusion
21 * Any path component not starting with a XID_Start character is prefixed with
40 * A double ".." means "::" and a single "." means "-".
42 * The only characters allowed in the mangled symbol are a-zA-Z0-9 and _.:$
55 * sym: symbol that has been through BFD-demangling
61 * 2. As a sanity check, the hash must use between 5 and 15 of the 16 possible
63 * may see a false negative. The point is to notice path components that
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/thermal/
Dthermal-zones.yaml1 # SPDX-License-Identifier: (GPL-2.0)
4 ---
5 $id: http://devicetree.org/schemas/thermal/thermal-zones.yaml#
6 $schema: http://devicetree.org/meta-schemas/base.yaml#
11 - Amit Kucheria <amitk@kernel.org>
18 The following node types are used to completely describe a thermal management
20 - thermal-sensor: device that measures temperature, has SoC-specific bindings
21 - cooling-device: device used to dissipate heat either passively or actively
22 - thermal-zones: a container of the following node types used to describe all
25 This binding describes the thermal-zones.
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/bus/
Dallwinner,sun50i-a64-de2.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/bus/allwinner,sun50i-a64-de2.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
15 pattern: "^bus(@[0-9a-f]+)?$"
17 "#address-cells":
20 "#size-cells":
25 - const: allwinner,sun50i-a64-de2
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/spi/
Dst,stm32-spi.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/spi/st,stm32-spi.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 the Serial Peripheral Interface. It supports full-duplex, half-duplex and
13 from 4 to 32-bit data size.
16 - Erwan Leray <erwan.leray@st.com>
17 - Fabrice Gasnier <fabrice.gasnier@st.com>
20 - $ref: "spi-controller.yaml#"
21 - if:
[all …]
Dspi-pl022.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/spi/spi-pl022.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Linus Walleij <linus.walleij@linaro.org>
13 - $ref: "spi-controller.yaml#"
15 # We need a select here so we don't match all nodes with 'arm,primecell'
22 - compatible
27 - const: arm,pl022
28 - const: arm,primecell
[all …]
/Linux-v5.15/scripts/
Dprofile2linkerlist.pl2 # SPDX-License-Identifier: GPL-2.0
5 # Takes a (sorted) output of readprofile and turns it into a list suitable for
9 # readprofile | sort -rn | perl profile2linkerlist.pl > functionlist
16 $_ =~ /\W*[0-9]+\W*([a-zA-Z\_0-9]+)\W*[0-9]+/;
Dmarkup_oops.pl2 # SPDX-License-Identifier: GPL-2.0-only
22 'cross-compile|c=s' => \$cross_compile,
28 my $kerver = `uname -r`;
49 if ($line =~ /EAX: ([0-9a-f]+) EBX: ([0-9a-f]+) ECX: ([0-9a-f]+) EDX: ([0-9a-f]+)/) {
55 if ($line =~ /ESI: ([0-9a-f]+) EDI: ([0-9a-f]+) EBP: ([0-9a-f]+) ESP: ([0-9a-f]+)/) {
60 if ($line =~ /RAX: ([0-9a-f]+) RBX: ([0-9a-f]+) RCX: ([0-9a-f]+)/) {
65 if ($line =~ /RDX: ([0-9a-f]+) RSI: ([0-9a-f]+) RDI: ([0-9a-f]+)/) {
70 if ($line =~ /RBP: ([0-9a-f]+) R08: ([0-9a-f]+) R09: ([0-9a-f]+)/) {
74 if ($line =~ /R10: ([0-9a-f]+) R11: ([0-9a-f]+) R12: ([0-9a-f]+)/) {
79 if ($line =~ /R13: ([0-9a-f]+) R14: ([0-9a-f]+) R15: ([0-9a-f]+)/) {
[all …]
Dtags.sh2 # SPDX-License-Identifier: GPL-2.0-only
12 set -x
15 # RCS_FIND_IGNORE has escaped ()s -- remove them.
18 ignore="$ignore ( -name *.mod.c ) -prune -o"
21 # to force full paths for a non-O= build
22 if [ "${srctree}" = "." -o -z "${srctree}" ]; then
29 if [ -n "$COMPILED_SOURCE" ]; then
30 ignore="$ignore ( -path ./tools ) -prune -o"
32 ignore="$ignore ( -path ${tree}tools ) -prune -o"
39 ALLSOURCE_ARCHS=$(find ${tree}arch/ -mindepth 1 -maxdepth 1 -type d -printf '%f ')
[all …]
Dget_maintainer.pl2 # SPDX-License-Identifier: GPL-2.0
8 # the files modified in a patch or for a file
11 # perl scripts/get_maintainer.pl [OPTIONS] -f <file>
43 my $email_git_since = "1-year-ago";
44 my $email_hg_since = "-365";
74 my @fixes = (); # If a patch description includes Fixes: lines
83 push(@penguin_chief, "Linus Torvalds:torvalds\@linux-foundation.org");
84 #Andrew wants in on most everything - 2009/01/14
85 #push(@penguin_chief, "Andrew Morton:akpm\@linux-foundation.org");
98 # a) responsible for the code in question, or
[all …]
Dextract-sys-certs.pl2 # SPDX-License-Identifier: GPL-2.0
9 die "Format: $0 [-s <systemmap-file>] <vmlinux-file> <keyring-file>\n"
11 $#ARGV == 3 && $ARGV[0] ne "-s");
26 open FD, "objdump -h $vmlinux |" || die $vmlinux;
34 …if ($line =~ /\s*([0-9]+)\s+(\S+)\s+([0-9a-f]+)\s+([0-9a-f]+)\s+([0-9a-f]+)\s+([0-9a-f]+)\s+2[*][*…
38 my $len = Math::BigInt->new("0x" . $3);
39 my $vma = Math::BigInt->new("0x" . $4);
40 my $lma = Math::BigInt->new("0x" . $5);
41 my $foff = Math::BigInt->new("0x" . $6);
55 # from a vmlinuz file with extract-vmlinux then the symbol table will be empty.
[all …]
Dcheckpatch.pl2 # SPDX-License-Identifier: GPL-2.0
7 # (c) 2008-2010 Andy Whitcroft <apw@canonical.com>
8 # (c) 2010-2018 Joe Perches <joe@perches.com>
67 my $docsfile = "$D/../Documentation/dev-tools/checkpatch.rst";
70 my $allow_c99_comments = 1; # Can be overridden by --ignore C99_COMMENT_TOLERANCE
72 my $git_command ='export LANGUAGE=en_US.UTF-8; git';
84 -q, --quiet quiet
85 -v, --verbose verbose mode
86 --no-tree run without a kernel tree
87 --no-signoff do not check for 'Signed-off-by' line
[all …]
/Linux-v5.15/scripts/kconfig/
Dmerge_config.sh2 # SPDX-License-Identifier: GPL-2.0
4 # merge_config.sh - Takes a list of config fragment values, and merges
10 # http://git.yoctoproject.org/cgit/cgit.cgi/yocto-kernel-tools/tree/tools/kconf_check
11 # http://git.yoctoproject.org/cgit/cgit.cgi/yocto-kernel-tools/tree/tools/generate_cfg
13 # Copyright (c) 2009-2010 Wind River Systems, Inc.
16 set -e
19 rm -f $TMP_FILE
20 rm -f $MERGE_FILE
25 echo " -h display this help text"
26 echo " -m only merge the fragments, do not execute the make command"
[all …]
/Linux-v5.15/arch/x86/tools/
Dgen-insn-attr-x86.awk1 #!/bin/awk -f
2 # SPDX-License-Identifier: GPL-2.0
3 # gen-insn-attr-x86.awk: Instruction attribute table generator
6 # Usage: awk -f gen-insn-attr-x86.awk x86-opcode-map.txt > inat-tables.c
11 return "Your awk has a printf-format problem."
21 eid = -1 # escape id
22 gid = -1 # group id
23 aid = -1 # AVX id
37 print "/* x86 opcode map generated from x86-opcode-map.txt */"
46 opnd_expr = "^[A-Za-z/]"
[all …]
/Linux-v5.15/tools/arch/x86/tools/
Dgen-insn-attr-x86.awk1 #!/bin/awk -f
2 # SPDX-License-Identifier: GPL-2.0
3 # gen-insn-attr-x86.awk: Instruction attribute table generator
6 # Usage: awk -f gen-insn-attr-x86.awk x86-opcode-map.txt > inat-tables.c
11 return "Your awk has a printf-format problem."
21 eid = -1 # escape id
22 gid = -1 # group id
23 aid = -1 # AVX id
37 print "/* x86 opcode map generated from x86-opcode-map.txt */"
46 opnd_expr = "^[A-Za-z/]"
[all …]
/Linux-v5.15/tools/testing/selftests/rcutorture/bin/
Dkvm.sh2 # SPDX-License-Identifier: GPL-2.0+
4 # Run a series of tests under KVM. By default, this series is specified
5 # by the relevant CFLIST file, but can be overridden by the --configs
6 # command-line argument.
17 T=${TMPDIR-/tmp}/kvm.sh.$$
18 trap 'rm -rf $T' 0
24 LANG=en_US.UTF-8; export LANG
55 ds=`date +%Y.%m.%d-%H.%M.%S`
56 jitter="-1"
63 echo " --allcpus"
[all …]
/Linux-v5.15/lib/
Dbuild_OID_registry1 #!/usr/bin/perl -w
2 # SPDX-License-Identifier: GPL-2.0-or-later
4 # Build a static ASN.1 Object Identified (OID) registry
16 print STDERR "Format: ", $0, " <in-h-file> <out-c-file>\n";
26 if (m!\s+OID_([a-zA-z][a-zA-Z0-9_]+),\s+/[*]\s+([012][.0-9]*)\s+[*]/!) {
71 # Emit the look-up-by-OID index table
104 for (; $tmp > 0; $tmp--) {
114 # Create a hash value for each OID
150 my @octets_a = @{$encoded_oids[$a]};
153 return $hash_values[$a] <=> $hash_values[$b]
[all …]
/Linux-v5.15/Documentation/devicetree/bindings/mfd/
Dst,stmfx.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: STMicroelectonics Multi-Function eXpander (STMFX) bindings
9 description: ST Multi-Function eXpander (STMFX) is a slave controller using I2C for
15 - Amelie Delaunay <amelie.delaunay@st.com>
19 const: st,stmfx-0300
27 drive-open-drain: true
29 vdd-supply: true
36 const: st,stmfx-0300-pinctrl
[all …]
/Linux-v5.15/tools/bootconfig/scripts/
Dftrace2bconf.sh2 # SPDX-License-Identifier: GPL-2.0-only
5 echo "Dump boot-time tracing bootconfig from ftrace"
6 echo "Usage: $0 [--debug] [ > BOOTCONFIG-FILE]"
13 "--debug")
15 -*)
23 set -x
26 TRACEFS=`grep -m 1 -w tracefs /proc/mounts | cut -f 2 -d " "`
27 if [ -z "$TRACEFS" ]; then
28 if ! grep -wq debugfs /proc/mounts; then
32 TRACEFS=`grep -m 1 -w debugfs /proc/mounts | cut -f 2 -d " "`/tracing
[all …]
/Linux-v5.15/tools/testing/selftests/net/mptcp/
Dmptcp_join.sh2 # SPDX-License-Identifier: GPL-2.0
44 rndh=$(printf %x $sec)-$(mktemp -u XXXXXX)
46 ns1="ns1-$rndh"
47 ns2="ns2-$rndh"
51 ip -net $netns link set lo up
52 ip netns exec $netns sysctl -q net.mptcp.enabled=1
53 ip netns exec $netns sysctl -q net.ipv4.conf.all.rp_filter=0
54 ip netns exec $netns sysctl -q net.ipv4.conf.default.rp_filter=0
55 if [ $checksum -eq 1 ]; then
56 ip netns exec $netns sysctl -q net.mptcp.checksum_enabled=1
[all …]
/Linux-v5.15/drivers/isdn/hardware/mISDN/
Dhfcpci.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * hfcpci.c low level driver for CCD's hfc-pci based cards
8 * type approval valid for HFC-S PCI A based card
10 * Copyright 1999 by Werner Cornelius (werner@isdn-development.de)
24 * A value of 128 will use controller's interrupt. Other values will
28 * If kernel uses a frequency of 1000 Hz, steps of 8 samples are possible.
102 /* marker saving last b-fifo frame count */
141 hc->hw.int_m2 |= HFCPCI_IRQ_ENABLE; in enable_hwirq()
142 Write_hfc(hc, HFCPCI_INT_M2, hc->hw.int_m2); in enable_hwirq()
148 hc->hw.int_m2 &= ~((u_char)HFCPCI_IRQ_ENABLE); in disable_hwirq()
[all …]
/Linux-v5.15/drivers/nvme/target/
Dzns.c1 // SPDX-License-Identifier: GPL-2.0
3 * NVMe ZNS-ZBD command implementation.
21 * Zone Append Size Limit (zasl) is expressed as a power of 2 value in nvmet_zasl()
24 return ilog2(zone_append_sects >> (NVMET_MPSMIN_SHIFT - 9)); in nvmet_zasl()
27 static int validate_conv_zones_cb(struct blk_zone *z, in validate_conv_zones_cb() argument
30 if (z->type == BLK_ZONE_TYPE_CONVENTIONAL) in validate_conv_zones_cb()
31 return -EOPNOTSUPP; in validate_conv_zones_cb()
37 struct request_queue *q = ns->bdev->bd_disk->queue; in nvmet_bdev_zns_enable()
39 struct gendisk *bd_disk = ns->bdev->bd_disk; in nvmet_bdev_zns_enable()
42 if (ns->subsys->zasl) { in nvmet_bdev_zns_enable()
[all …]
/Linux-v5.15/Documentation/trace/postprocess/
Dtrace-pagealloc-postprocess.pl2 # This is a POC (proof of concept or piece of crap, take your pick) for reading the
4 # to extract some high-level information on what is going on. The accuracy of the parser
7 # Example usage: trace-pagealloc-postprocess.pl < /sys/kernel/debug/tracing/trace_pipe
9 # --prepend-parent Report on the parent proc and PID
10 # --read-procstat If the trace lacks process info, get it from /proc
11 # --ignore-pid Aggregate processes of the same name together
31 # High-level events extrapolated from tracepoints
52 if ($current_time - 2 > $sigint_received) {
53 print "SIGINT received, report pending. Hit ctrl-c again to exit\n";
74 'ignore-pid' => \$opt_ignorepid,
[all …]
Dtrace-vmscan-postprocess.pl2 # This is a POC for reading the text representation of trace output related to
3 # page reclaim. It makes an attempt to extract some high-level information on
6 # Example usage: trace-vmscan-postprocess.pl < /sys/kernel/debug/tracing/trace_pipe
8 # --read-procstat If the trace lacks process info, get it from /proc
9 # --ignore-pid Aggregate processes of the same name together
31 # Per-order events
43 # High-level events extrapolated from tracepoints
83 if ($current_time - 2 > $sigint_received) {
84 print "SIGINT received, report pending. Hit ctrl-c again to exit\n";
105 'ignore-pid' => \$opt_ignorepid,
[all …]

12