1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-23 08:35:19 -05:00
No description
Find a file
Tom Rix aef70ebd62 samples: ftrace: Make some global variables static
smatch reports this representative issue
samples/ftrace/ftrace-ops.c:15:14: warning: symbol 'nr_function_calls' was not declared. Should it be static?

The nr_functions_calls and several other global variables are only
used in ftrace-ops.c, so they should be static.
Remove the instances of initializing static int to 0.

Link: https://lore.kernel.org/linux-trace-kernel/20230130193708.1378108-1-trix@redhat.com

Signed-off-by: Tom Rix <trix@redhat.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
2023-02-07 12:48:00 -05:00
arch
block
certs
crypto
Documentation tracing/histogram: Wrap remaining shell snippets in code blocks 2023-02-07 12:41:11 -05:00
drivers
fs
include tracing: Acquire buffer from temparary trace sequence 2023-02-07 12:42:54 -05:00
init
io_uring
ipc
kernel tracing: Acquire buffer from temparary trace sequence 2023-02-07 12:42:54 -05:00
lib lib: Kconfig: fix spellos 2023-01-24 19:21:26 -05:00
LICENSES
mm
net
rust
samples samples: ftrace: Make some global variables static 2023-02-07 12:48:00 -05:00
scripts ftrace/scripts: Update the instructions for ftrace-bisect.sh 2023-01-24 13:13:07 -05:00
security
sound
tools tracing/histogram: Add simple tests for stacktrace usage of synthetic events 2023-01-25 10:31:24 -05:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
.rustfmt.toml
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS ftrace: Maintain samples/ftrace 2023-01-25 10:28:39 -05:00
Makefile Linux 6.2-rc5 2023-01-21 16:27:01 -08:00
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.