No description
Find a file
Linus Torvalds 7ec901b6fa tracing: Fix probes written to the set_ftrace_filter file
Now that there's a library that accesses the tracefs file system,
 (libtracefs), the way the files are interacted with is slightly
 different than the command line. For instance, the write() system
 call is used directly instead of an echo. This exposes some old bugs.
 
 If a probe is written to "set_ftrace_filter" without any white space
 after it, it will be ignored. This is because the write expects
 that a string written to it that does not end with white spaces thinks
 there is more to come. But if the file is closed, the release function
 needs to finish it. The "set_ftrace_filter" release function handles
 the filter part of the "set_ftrace_filter" file, but did not handle
 the probe part.
 -----BEGIN PGP SIGNATURE-----
 
 iIoEABYIADIWIQRRSw7ePDh/lE+zeZMp5XQQmuv6qgUCYJP4OBQccm9zdGVkdEBn
 b29kbWlzLm9yZwAKCRAp5XQQmuv6quzjAQCoFQXkJtYhwlMk0dTxclrsQlm0t93H
 pHwJA9Zyxe25UgD8D/rpG/wtHaSSuP6omEDbqvshpNdszqKb0Nt+UM116QU=
 =niJ6
 -----END PGP SIGNATURE-----

Merge tag 'trace-v5.13-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace

Pull tracing fix from Steven Rostedt:
 "Fix probes written to the set_ftrace_filter file

  Now that there's a library that accesses the tracefs file system
  (libtracefs), the way the files are interacted with is slightly
  different than the command line. For instance, the write() system call
  is used directly instead of an echo. This exposes some old bugs.

  If a probe is written to "set_ftrace_filter" without any white space
  after it, it will be ignored. This is because the write expects that a
  string written to it that does not end with white spaces thinks there
  is more to come. But if the file is closed, the release function needs
  to finish it. The "set_ftrace_filter" release function handles the
  filter part of the "set_ftrace_filter" file, but did not handle the
  probe part"

* tag 'trace-v5.13-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
  ftrace: Handle commands when closing set_ftrace_filter file
2021-05-06 10:03:38 -07:00
arch ARM updates for 5.13-rc1: 2021-05-06 09:28:07 -07:00
block
certs
crypto
Documentation ACPI fixes for 5.13-rc1 2021-05-06 09:56:26 -07:00
drivers ACPI fixes for 5.13-rc1 2021-05-06 09:56:26 -07:00
fs Merge branch 'akpm' (patches from Andrew) 2021-05-05 13:50:15 -07:00
include RISC-V Patches for the 5.13 Merge Window, Part 1 2021-05-06 09:24:18 -07:00
init Merge branch 'akpm' (patches from Andrew) 2021-05-05 13:50:15 -07:00
ipc
kernel tracing: Fix probes written to the set_ftrace_filter file 2021-05-06 10:03:38 -07:00
lib Merge branch 'akpm' (patches from Andrew) 2021-05-05 13:50:15 -07:00
LICENSES
mm kfence: use power-efficient work queue to run delayed work 2021-05-05 11:27:27 -07:00
net Additional fixes and clean-ups for NFSD since tags/nfsd-5.13, 2021-05-05 13:44:19 -07:00
samples RISC-V Patches for the 5.13 Merge Window, Part 1 2021-05-06 09:24:18 -07:00
scripts RISC-V Patches for the 5.13 Merge Window, Part 1 2021-05-06 09:24:18 -07:00
security Simple code cleanup 2021-05-05 12:08:06 -07:00
sound
tools Merge branch 'akpm' (patches from Andrew) 2021-05-05 13:50:15 -07:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS pci-v5.13-changes 2021-05-05 13:24:11 -07:00
Makefile
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.