Repository navigation
Commit 4e37958
committed
init, tracing: Have printk come through the trace events for initcall_debug
With trace events set before and after the initcall function calls, instead
of having a separate routine for printing out the initcalls when
initcall_debug is specified on the kernel command line, have the code
register a callback to the tracepoints where the initcall trace events are.
This removes the need for having a separate function to do the initcalls as
the tracepoint callbacks can handle the printk. It also includes other
initcalls that are not called by the do_one_initcall() which includes
console and security initcalls.
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>1 parent 58eacff commit 4e37958
1 file changed
Lines changed: 35 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
494 | 494 | | |
495 | 495 | | |
496 | 496 | | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
497 | 501 | | |
498 | 502 | | |
499 | 503 | | |
| |||
615 | 619 | | |
616 | 620 | | |
617 | 621 | | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
618 | 625 | | |
619 | 626 | | |
620 | 627 | | |
| |||
731 | 738 | | |
732 | 739 | | |
733 | 740 | | |
734 | | - | |
735 | | - | |
736 | | - | |
737 | 741 | | |
738 | 742 | | |
739 | 743 | | |
| |||
803 | 807 | | |
804 | 808 | | |
805 | 809 | | |
806 | | - | |
| 810 | + | |
| 811 | + | |
807 | 812 | | |
808 | | - | |
809 | | - | |
810 | | - | |
| 813 | + | |
811 | 814 | | |
812 | 815 | | |
813 | | - | |
814 | | - | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
815 | 826 | | |
816 | | - | |
| 827 | + | |
817 | 828 | | |
818 | 829 | | |
819 | 830 | | |
| 831 | + | |
820 | 832 | | |
821 | | - | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
822 | 844 | | |
823 | 845 | | |
824 | 846 | | |
825 | 847 | | |
826 | 848 | | |
827 | | - | |
828 | 849 | | |
| 850 | + | |
829 | 851 | | |
830 | 852 | | |
831 | 853 | | |
832 | 854 | | |
833 | 855 | | |
834 | | - | |
835 | | - | |
836 | | - | |
837 | | - | |
| 856 | + | |
838 | 857 | | |
839 | 858 | | |
840 | 859 | | |
| |||
0 commit comments