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/[email protected]
Cc: Petr Mladek <[email protected]>
Cc: Sergei Shtylyov <[email protected]>
Signed-off-by: Guilherme G. Piccoli <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>1 parent d0b24b4 commit ea47666
1 file changed
+27
-28
lines changed| 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