Al Viro
cb787f4ac0
[tree-wide] finally take no_llseek out
...
no_llseek had been defined to NULL two years ago, in commit 868941b144
("fs: remove no_llseek")
To quote that commit,
At -rc1 we'll need do a mechanical removal of no_llseek -
git grep -l -w no_llseek | grep -v porting.rst | while read i; do
sed -i '/\<no_llseek\>/d' $i
done
would do it.
Unfortunately, that hadn't been done. Linus, could you do that now, so
that we could finally put that thing to rest? All instances are of the
form
.llseek = no_llseek,
so it's obviously safe.
Signed-off-by: Al Viro <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2024-09-27 08:18:43 -07:00
Daniel Bristot de Oliveira
04acadcb44
rv: Add runtime reactors interface
...
A runtime monitor can cause a reaction to the detection of an
exception on the model's execution. By default, the monitors have
tracing reactions, printing the monitor output via tracepoints.
But other reactions can be added (on-demand) via this interface.
The user interface resembles the kernel tracing interface and
presents these files:
"available_reactors"
- Reading shows the available reactors, one per line.
For example:
# cat available_reactors
nop
panic
printk
"reacting_on"
- It is an on/off general switch for reactors, disabling
all reactions.
"monitors/MONITOR/reactors"
- List available reactors, with the select reaction for the given
MONITOR inside []. The default one is the nop (no operation)
reactor.
- Writing the name of a reactor enables it to the given
MONITOR.
For example:
# cat monitors/wip/reactors
[nop]
panic
printk
# echo panic > monitors/wip/reactors
# cat monitors/wip/reactors
nop
[panic]
printk
Link: https://lkml.kernel.org/r/1794eb994637457bdeaa6bad0b8263d2f7eece0c.1659052063.git.bristot@kernel.org
Cc: Wim Van Sebroeck <[email protected] >
Cc: Guenter Roeck <[email protected] >
Cc: Jonathan Corbet <[email protected] >
Cc: Ingo Molnar <[email protected] >
Cc: Thomas Gleixner <[email protected] >
Cc: Peter Zijlstra <[email protected] >
Cc: Will Deacon <[email protected] >
Cc: Catalin Marinas <[email protected] >
Cc: Marco Elver <[email protected] >
Cc: Dmitry Vyukov <[email protected] >
Cc: "Paul E. McKenney" <[email protected] >
Cc: Shuah Khan <[email protected] >
Cc: Gabriele Paoloni <[email protected] >
Cc: Juri Lelli <[email protected] >
Cc: Clark Williams <[email protected] >
Cc: Tao Zhou <[email protected] >
Cc: Randy Dunlap <[email protected] >
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Daniel Bristot de Oliveira <[email protected] >
Signed-off-by: Steven Rostedt (Google) <[email protected] >
2022-07-30 14:01:28 -04:00