No description
Find a file
Arnaldo Carvalho de Melo d6dbfceec5 tools headers UAPI: Sync linux/prctl.h with the kernel sources
To pick a new prctl introduced in:

  1446e1df9e ("kernel: Implement selective syscall userspace redirection")

That results in:

  $ tools/perf/trace/beauty/prctl_option.sh > before
  $ cp include/uapi/linux/prctl.h tools/include/uapi/linux/prctl.h
  $ tools/perf/trace/beauty/prctl_option.sh > after
  $ diff -u before after
  --- before	2020-12-17 15:00:42.012537367 -0300
  +++ after	2020-12-17 15:00:49.832699463 -0300
  @@ -53,6 +53,7 @@
   	[56] = "GET_TAGGED_ADDR_CTRL",
   	[57] = "SET_IO_FLUSHER",
   	[58] = "GET_IO_FLUSHER",
  +	[59] = "SET_SYSCALL_USER_DISPATCH",
   };
   static const char *prctl_set_mm_options[] = {
   	[1] = "START_CODE",
  $

Now users can do:

  # perf trace -e syscalls:sys_enter_prctl --filter "option==SET_SYSCALL_USER_DISPATCH"
^C#
  # trace -v -e syscalls:sys_enter_prctl --filter "option==SET_SYSCALL_USER_DISPATCH"
  New filter for syscalls:sys_enter_prctl: (option==0x3b) && (common_pid != 5519 && common_pid != 3404)
^C#

And also when prctl appears in a session, its options will be
translated to the string.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Gabriel Krisman Bertazi <krisman@collabora.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2020-12-18 17:32:28 -03:00
arch ARM: SoC updates for OMAP GenPD 2020-12-16 16:53:54 -08:00
block SCSI misc on 20201216 2020-12-16 13:34:31 -08:00
certs
crypto
Documentation Merge remote-tracking branch 'torvalds/master' into perf/core 2020-12-17 14:37:24 -03:00
drivers ARM: SoC updates for OMAP GenPD 2020-12-16 16:53:54 -08:00
fs for-5.11/block-2020-12-14 2020-12-16 12:57:51 -08:00
include ARM: SoC updates for OMAP GenPD 2020-12-16 16:53:54 -08:00
init for-5.11/block-2020-12-14 2020-12-16 12:57:51 -08:00
ipc
kernel ARM: SoC drivers for v5.11 2020-12-16 16:38:41 -08:00
lib for-5.11/block-2020-12-14 2020-12-16 12:57:51 -08:00
LICENSES
mm memblock: debug enhancements 2020-12-16 14:44:53 -08:00
net RDMA 5.11 pull request 2020-12-16 13:42:26 -08:00
samples ARM: SoC drivers for v5.11 2020-12-16 16:38:41 -08:00
scripts gcc-plugins updates for v5.11-rc1 2020-12-16 11:17:27 -08:00
security Smack updates for Linux 5.11. One minor code clean-up and a 2020-12-16 11:11:58 -08:00
sound
tools tools headers UAPI: Sync linux/prctl.h with the kernel sources 2020-12-18 17:32:28 -03:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap RDMA 5.11 pull request 2020-12-16 13:42:26 -08:00
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS ARM: SoC drivers for v5.11 2020-12-16 16:38:41 -08: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.