The source for the Linux kernel used in Windows Subsystem for Linux 2 (WSL2)
Перейти к файлу
Tom Zanussi 7d27adf575 tracing: Don't show dynamic string internals in synthetic event description
For synthetic event dynamic fields, the type contains "__data_loc",
which is basically an internal part of the type which is only meant to
be displayed in the format, not in the event description itself, which
is confusing to users since they can't use __data_loc on the
command-line to define an event field, which printing it would lead
them to believe.

So filter it out from the description, while leaving it in the type.

Link: https://lkml.kernel.org/r/b3b7baf7813298a5ede4ff02e2e837b91c05a724.1602598160.git.zanussi@kernel.org

Reported-by: Masami Hiramatsu <mhiramat@kernel.org>
Tested-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Tom Zanussi <zanussi@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
2020-10-15 12:01:13 -04:00
Documentation tracing: Add support for dynamic strings to synthetic events 2020-10-05 19:32:18 -04:00
LICENSES
arch x86: Use tracepoint_enabled() for msr tracepoints instead of open coding it 2020-09-28 10:36:02 -04:00
block
certs
crypto
drivers
fs
include ftrace: ftrace_global_list is renamed to ftrace_ops_list 2020-10-08 15:29:06 -04:00
init
ipc
kernel tracing: Don't show dynamic string internals in synthetic event description 2020-10-15 12:01:13 -04:00
lib
mm
net
samples
scripts
security
sound
tools selftests/ftrace: Add test case for synthetic event dynamic strings 2020-10-08 15:28:41 -04:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS tools/bootconfig: Add a script to generate ftrace shell-command from bootconfig 2020-09-18 22:17:13 -04:00
Makefile
README

README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.