Go to file
Mark-PK Tsai a8b5c425ad tracing: Avoid adding tracer option before update_tracer_options
[ Upstream commit ef9188bcc6 ]

To prepare for support asynchronous tracer_init_tracefs initcall,
avoid calling create_trace_option_files before __update_tracer_options.
Otherwise, create_trace_option_files will show warning because
some tracers in trace_types list are already in tr->topts.

For example, hwlat_tracer call register_tracer in late_initcall,
and global_trace.dir is already created in tracing_init_dentry,
hwlat_tracer will be put into tr->topts.
Then if the __update_tracer_options is executed after hwlat_tracer
registered, create_trace_option_files find that hwlat_tracer is
already in tr->topts.

Link: https://lkml.kernel.org/r/20220426122407.17042-2-mark-pk.tsai@mediatek.com

Link: https://lore.kernel.org/lkml/20220322133339.GA32582@xsang-OptiPlex-9020/
Reported-by: kernel test robot <oliver.sang@intel.com>
Signed-off-by: Mark-PK Tsai <mark-pk.tsai@mediatek.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-06-14 18:41:27 +02:00
Documentation regulator: mt6315-regulator: fix invalid allowed mode 2022-06-14 18:41:25 +02:00
LICENSES
arch mips: cpc: Fix refcount leak in mips_cpc_default_phys_base 2022-06-14 18:41:26 +02:00
block blk-mq: do not update io_ticks with passthrough requests 2022-06-14 18:41:23 +02:00
certs
crypto crypto: cryptd - Protect per-CPU resource by disabling BH. 2022-06-09 10:26:07 +02:00
drivers dmaengine: idxd: set DMA_INTERRUPT cap bit 2022-06-14 18:41:26 +02:00
fs afs: Fix infinite loop found by xfstest generic/676 2022-06-14 18:41:25 +02:00
include bluetooth: don't use bitmaps for random flag accesses 2022-06-14 18:41:26 +02:00
init Kconfig: Add option for asm goto w/ tied outputs to workaround clang-13 bug 2022-06-09 10:26:25 +02:00
ipc ipc/mqueue: use get_tree_nodev() in mqueue_get_tree() 2022-06-09 10:26:06 +02:00
kernel tracing: Avoid adding tracer option before update_tracer_options 2022-06-14 18:41:27 +02:00
lib bootconfig: Make the bootconfig.o as a normal object file 2022-06-14 18:41:27 +02:00
mm mm/memremap: fix missing call to untrack_pfn() in pagemap_range() 2022-06-09 10:26:28 +02:00
net bluetooth: don't use bitmaps for random flag accesses 2022-06-14 18:41:26 +02:00
samples samples/landlock: Format with clang-format 2022-06-09 10:26:22 +02:00
scripts modpost: fix removing numeric suffixes 2022-06-14 18:41:21 +02:00
security ima: remove the IMA_TEMPLATE Kconfig option 2022-06-09 10:26:25 +02:00
sound ASoC: fsl_sai: Fix FSL_SAI_xDR/xFR definition 2022-06-14 18:41:20 +02:00
tools perf c2c: Fix sorting in percent_rmt_hitm_cmp() 2022-06-14 18:41:26 +02:00
usr
virt KVM: Free new dirty bitmap if creating a new memslot fails 2022-05-25 09:59:03 +02:00
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap MAINTAINERS: Update Jisheng's email address 2022-03-08 17:30:32 +01:00
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS net: dsa: realtek-smi: move to subdirectory 2022-04-08 13:58:12 +02:00
Makefile Linux 5.17.14 2022-06-09 10:26:33 +02:00
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.