Commit ea47666
tracing: Improve panic/die notifiers
Currently the tracing dump_on_oops feature is implemented through
separate notifiers, one for die/oops and the other for panic;
given they have the same functionality, let's unify them.
Also improve the function comment and change the priority of the
notifier to make it execute earlier, avoiding showing useless trace
data (like the callback names for the other notifiers); finally,
we also removed an unnecessary header inclusion.
Link: https://lkml.kernel.org/r/20220819221731.480795-7-gpiccoli@igalia.com
Cc: Petr Mladek <pmladek@suse.com>
Cc: Sergei Shtylyov <sergei.shtylyov@gmail.com>
Signed-off-by: Guilherme G. Piccoli <gpiccoli@igalia.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>1 parent d0b24b4 commit ea47666
1 file changed
Lines changed: 27 additions & 28 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| |||
9876 | 9875 | | |
9877 | 9876 | | |
9878 | 9877 | | |
9879 | | - | |
9880 | | - | |
9881 | | - | |
9882 | | - | |
9883 | | - | |
9884 | | - | |
9885 | | - | |
| 9878 | + | |
| 9879 | + | |
9886 | 9880 | | |
9887 | 9881 | | |
9888 | | - | |
9889 | | - | |
9890 | | - | |
| 9882 | + | |
| 9883 | + | |
9891 | 9884 | | |
9892 | 9885 | | |
9893 | | - | |
9894 | | - | |
9895 | | - | |
9896 | | - | |
9897 | | - | |
9898 | | - | |
9899 | | - | |
9900 | | - | |
9901 | | - | |
9902 | | - | |
9903 | | - | |
9904 | | - | |
9905 | | - | |
9906 | | - | |
9907 | | - | |
9908 | 9886 | | |
9909 | | - | |
9910 | | - | |
| 9887 | + | |
| 9888 | + | |
9911 | 9889 | | |
9912 | 9890 | | |
| 9891 | + | |
| 9892 | + | |
| 9893 | + | |
| 9894 | + | |
| 9895 | + | |
| 9896 | + | |
| 9897 | + | |
| 9898 | + | |
| 9899 | + | |
| 9900 | + | |
| 9901 | + | |
| 9902 | + | |
| 9903 | + | |
| 9904 | + | |
| 9905 | + | |
| 9906 | + | |
| 9907 | + | |
| 9908 | + | |
| 9909 | + | |
| 9910 | + | |
| 9911 | + | |
9913 | 9912 | | |
9914 | 9913 | | |
9915 | 9914 | | |
| |||
0 commit comments