Centos-kernel-stream-9/scripts
Michael Petlan c1cda36fc5 tracing: Always use canonical ftrace path
Bugzilla: https://bugzilla.redhat.com/2233483

upstream
========
commit 2455f0e124d317dd08d337a7550a78a224d4ba41
Author: Ross Zwisler <zwisler@chromium.org>
Date:   Wed Feb 15 15:33:45 2023 -0700

description
===========
The canonical location for the tracefs filesystem is at /sys/kernel/tracing.

But, from Documentation/trace/ftrace.rst:

  Before 4.1, all ftrace tracing control files were within the debugfs
  file system, which is typically located at /sys/kernel/debug/tracing.
  For backward compatibility, when mounting the debugfs file system,
  the tracefs file system will be automatically mounted at:

  /sys/kernel/debug/tracing

Many comments and Kconfig help messages in the tracing code still refer
to this older debugfs path, so let's update them to avoid confusion.

Link: https://lore.kernel.org/linux-trace-kernel/20230215223350.2658616-2-zwisler@google.com

    Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
    Reviewed-by: Mukesh Ojha <quic_mojha@quicinc.com>
    Signed-off-by: Ross Zwisler <zwisler@google.com>
    Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>

Conflicts:
==========
We don't have samples/user_events/example.c .

Signed-off-by: Michael Petlan <mpetlan@redhat.com>
2023-09-18 12:02:13 +02:00
..
atomic Fix up more non-executable files marked executable 2023-06-21 16:22:06 +02:00
basic .gitignore: prefix local generated files with a slash 2021-05-02 00:43:35 +09:00
clang-tools gen_compile_commands: handle multiple lines per .mod file 2023-03-24 17:06:54 -04:00
coccinelle coccinelle: api: remove kobj_to_dev.cocci script 2021-06-21 20:45:49 +02:00
dtc .gitignore: prefix local generated files with a slash 2021-05-02 00:43:35 +09:00
dummy-tools scripts: dummy-tools, add pahole 2022-10-25 14:58:09 +02:00
gcc-plugins security: don't treat structure as an array of struct hlist_head 2023-05-04 15:29:19 +02:00
gdb scripts/gdb: fix 'lx-current' for x86 2023-06-30 20:32:15 -04:00
genksyms .gitignore: prefix local generated files with a slash 2021-05-02 00:43:35 +09:00
kconfig Kbuild updates for v5.14 2021-07-10 11:01:38 -07:00
ksymoops
mod kbuild: get rid of duplication in *.mod files 2023-03-24 17:06:53 -04:00
package objtool: Add CONFIG_OBJTOOL 2022-10-27 15:26:51 -04:00
selinux
tracing tracing: Always use canonical ftrace path 2023-09-18 12:02:13 +02:00
.gitignore .gitignore: prefix local generated files with a slash 2021-05-02 00:43:35 +09:00
Kbuild.include kbuild: sink stdout from cmd for silent build 2021-05-27 04:01:50 +09:00
Kconfig.include kbuild: check the minimum assembler version in Kconfig 2021-04-25 05:14:41 +09:00
Lindent
Makefile Fix CVE-2020-26541 2021-04-26 08:38:10 -07:00
Makefile.asm-generic kbuild: prefix $(srctree)/ to some included Makefiles 2021-03-15 19:20:48 +09:00
Makefile.build objtool: Add --hacks=skylake 2023-06-30 20:17:17 -04:00
Makefile.clean kbuild: replace $(if A,A,B) with $(or A,B) 2022-10-27 14:27:59 -04:00
Makefile.compiler kbuild: remove TMPO from try-run 2021-04-25 05:25:56 +09:00
Makefile.dtbinst kbuild: prefix $(srctree)/ to some included Makefiles 2021-03-15 19:20:48 +09:00
Makefile.extrawarn Kbuild: add -Wno-shift-negative-value where -Wextra is used 2022-06-07 17:44:33 -04:00
Makefile.gcc-plugins gcc-plugins/structleak: add makefile var for disabling structleak 2023-04-17 11:20:40 -06:00
Makefile.headersinst kbuild: prefix $(srctree)/ to some included Makefiles 2021-03-15 19:20:48 +09:00
Makefile.host
Makefile.kasan kasan: always respect CONFIG_KASAN_STACK 2021-11-29 11:43:57 -05:00
Makefile.kcov
Makefile.kcsan
Makefile.lib Merge: kbuild: add fixes to scripts/Makefile.build to fix /bin/sh: Argument list too long build error 2023-04-18 13:54:24 +02:00
Makefile.modfinal kbuild: Fix TRIM_UNUSED_KSYMS with LTO_CLANG 2022-07-29 11:55:37 -04:00
Makefile.modinst kbuild: add support for zstd compressed modules 2021-04-25 05:25:06 +09:00
Makefile.modpost kbuild: Fix TRIM_UNUSED_KSYMS with LTO_CLANG 2022-07-29 11:55:37 -04:00
Makefile.package kbuild: deb-pkg: change the source package name to linux-upstream 2021-04-25 05:30:45 +09:00
Makefile.ubsan ubsan: remove overflow checks 2021-02-26 09:41:05 -08:00
Makefile.userprogs
adjust_autoksyms.sh kbuild: split the second line of *.mod into *.usyms 2023-03-24 17:06:53 -04:00
as-version.sh kbuild: check the minimum assembler version in Kconfig 2021-04-25 05:14:41 +09:00
asn1_compiler.c
bin2c.c
bloat-o-meter scripts: switch explicitly to Python 3 2021-01-22 06:34:44 +09:00
bootgraph.pl
bpf_doc.py bpf_doc: Fix build error with older python versions 2023-04-28 11:43:20 +02:00
cc-can-link.sh
cc-version.sh kbuild: collect minimum tool versions into scripts/min-tool-version.sh 2021-04-25 05:14:26 +09:00
check-sysctl-docs
check_extable.sh scripts: check_extable: fix typo in user error message 2022-04-07 09:58:25 -04:00
checkdeclares.pl scripts: a new script for checking duplicate struct declaration 2021-04-30 11:20:35 -07:00
checkincludes.pl
checkkconfigsymbols.py
checkpatch.pl Compiler Attributes: add __alloc_size() for better bounds checking 2022-04-07 14:10:25 -04:00
checkstack.pl
checksyscalls.sh arch, mm: wire up memfd_secret system call where relevant 2021-07-08 11:48:21 -07:00
checkversion.pl scripts: checkversion: modernize linux/version.h search strings 2021-08-05 20:55:39 +09:00
cleanfile
cleanpatch
coccicheck scripts: coccicheck: fix troubles on non-English builds 2021-05-18 11:09:59 +02:00
config kconfig: config script: add a little user help 2021-01-04 10:38:11 +09:00
const_structs.checkpatch
decode_stacktrace.sh scripts/decode_stacktrace.sh: indicate 'auto' can be used for base path 2021-07-08 11:48:22 -07:00
decodecode
depmod.sh depmod: handle the case of /sbin/depmod without /sbin in PATH 2021-01-01 12:26:39 -08:00
dev-needs.sh
diffconfig scripts: switch explicitly to Python 3 2021-01-22 06:34:44 +09:00
documentation-file-ref-check scripts: documentation-file-ref-check: fix bpf selftests path 2022-06-03 17:23:54 +03:00
export_report.pl
extract-cert.c cert host tools: Stop complaining about deprecated OpenSSL functions 2023-01-09 13:32:41 -05:00
extract-ikconfig
extract-module-sig.pl
extract-sys-certs.pl
extract-vmlinux
extract_xc3028.pl
faddr2line
file-size.sh
find-unused-docs.sh
gcc-goto.sh
gcc-ld
gcc-x86_32-has-stack-protector.sh x86/stackprotector/32: Make the canary into a regular percpu variable 2021-03-08 13:19:05 +01:00
gcc-x86_64-has-stack-protector.sh
gen_autoksyms.sh kbuild: split the second line of *.mod into *.usyms 2023-03-24 17:06:53 -04:00
gen_ksymdeps.sh
generate_initcall_order.pl init: lto: ensure initcall ordering 2021-01-14 08:21:09 -08:00
get_abi.pl scripts: get_abi: ignore code blocks for cross-references 2021-03-31 13:53:16 -06:00
get_dvb_firmware
get_feat.pl
get_maintainer.pl
gfp-translate
headerdep.pl
headers_check.pl
headers_install.sh
insert-sys-cert.c
jobserver-exec scripts/jobserver-exec: Fix a typo ("envirnoment") 2021-05-17 12:10:03 +09:00
kallsyms.c kallsyms: add kallsyms_seqs_of_names to list of special symbols 2023-06-13 22:45:47 +02:00
kernel-doc scripts/kernel-doc: support EXPORT_SYMBOL_NS_GPL() with -export 2023-03-09 16:36:08 -07:00
ld-version.sh kbuild: collect minimum tool versions into scripts/min-tool-version.sh 2021-04-25 05:14:26 +09:00
leaking_addresses.pl leaking_addresses: Always print a trailing newline 2021-11-23 07:21:24 -05:00
link-vmlinux.sh objtool: Add --hacks=skylake 2023-06-30 20:17:17 -04:00
makelst
markup_oops.pl
min-tool-version.sh Documentation: raise minimum supported version of GCC to 5.1 2021-12-08 23:30:27 +08:00
mkcompile_h sched/preempt: Tell about PREEMPT_DYNAMIC on kernel headers 2022-04-07 09:35:08 -04:00
mksysmap
mkuboot.sh
module.lds.S Revert "arm64: unwind: add asynchronous unwind tables to kernel and modules" 2023-08-31 22:40:39 -04:00
modules-check.sh kbuild: check module name conflict for external modules as well 2021-04-25 05:22:42 +09:00
nsdeps scripts/nsdeps: adjust to the format change of *.mod files 2023-03-24 17:06:54 -04:00
objdiff kbuild: clean .tmp_* pattern by make clean 2023-06-30 19:59:54 -04:00
objdump-func scripts: Create objdump-func helper script 2022-10-27 15:26:52 -04:00
pahole-flags.sh Revert "bpf: Add --skip_encoding_btf_inconsistent_proto, --btf_gen_optimized to pahole flags for v1.25" 2023-06-13 22:45:32 +02:00
pahole-version.sh kbuild: Add CONFIG_PAHOLE_VERSION 2022-10-25 14:57:45 +02:00
parse-maintainers.pl
patch-kernel
profile2linkerlist.pl
prune-kernel
recordmcount.c ftrace: Have recordmcount use w8 to read relp->r_info in arm64_is_fake_mcount 2021-03-02 17:27:18 -05:00
recordmcount.h recordmcount: Correct st_shndx handling 2021-06-18 09:09:17 -04:00
recordmcount.pl scripts/recordmcount.pl: Remove check_objcopy() and $can_use_local 2021-08-04 17:49:26 -04:00
remove-stale-files kbuild: add a script to remove stale generated files 2021-05-02 00:43:35 +09:00
setlocalversion kbuild: do not include include/config/auto.conf from shell scripts 2022-10-27 14:27:57 -04:00
show_delta
sign-file.c cert host tools: Stop complaining about deprecated OpenSSL functions 2023-01-09 13:32:41 -05:00
sorttable.c s390/extable: convert to relative table with data 2023-03-24 11:18:38 -04:00
sorttable.h
spdxcheck-test.sh
spdxcheck.py scripts/spdxcheck.py: Strictly read license files in utf-8 2021-07-12 09:56:50 -06:00
spelling.txt Merge: ALSA - update drivers for 9.3 2023-07-04 11:15:01 +02:00
sphinx-pre-install scripts: sphinx-pre-install: fix the need of virtenv packages 2021-06-01 16:29:30 -06:00
split-man.pl
stackdelta
stackusage
subarch.include
syscallhdr.sh scripts: check duplicated syscall number in syscall table 2021-07-09 04:00:39 +09:00
syscallnr.sh scripts: add generic syscallnr.sh 2021-07-09 04:01:14 +09:00
syscalltbl.sh scripts: check duplicated syscall number in syscall table 2021-07-09 04:00:39 +09:00
tags.sh tags.sh: Ignore redhat/rpm 2021-08-30 14:29:34 -04:00
test_fortify.sh fortify: Update compile-time tests for Clang 14 2022-12-10 23:01:44 +01:00
tools-support-relr.sh Makefile: fix GDB warning with CONFIG_RELR 2021-06-08 13:09:34 +01:00
unifdef.c
ver_linux Removed the oprofiled version option 2021-05-03 17:23:06 -06:00
xen-hypercalls.sh
xz_wrap.sh