Commit 8e2759d
bpf: Enable kprobe_multi feature if CONFIG_FPROBE is enabled
Enable kprobe_multi feature if CONFIG_FPROBE is enabled. The pt_regs is
converted from ftrace_regs by ftrace_partial_regs(), thus some registers
may always returns 0. But it should be enough for function entry (access
arguments) and exit (access return value).
Cc: Alexei Starovoitov <alexei.starovoitov@gmail.com>
Cc: Martin KaFai Lau <martin.lau@linux.dev>
Cc: bpf <bpf@vger.kernel.org>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Alan Maguire <alan.maguire@oracle.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/173519000417.391279.14011193569589886419.stgit@devnote2
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Acked-by: Florent Revest <revest@chromium.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>1 parent 0566cef commit 8e2759d
1 file changed
Lines changed: 14 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2561 | 2561 | | |
2562 | 2562 | | |
2563 | 2563 | | |
2564 | | - | |
| 2564 | + | |
2565 | 2565 | | |
2566 | 2566 | | |
2567 | 2567 | | |
| |||
2584 | 2584 | | |
2585 | 2585 | | |
2586 | 2586 | | |
| 2587 | + | |
| 2588 | + | |
| 2589 | + | |
| 2590 | + | |
| 2591 | + | |
| 2592 | + | |
| 2593 | + | |
2587 | 2594 | | |
2588 | 2595 | | |
2589 | 2596 | | |
| |||
2778 | 2785 | | |
2779 | 2786 | | |
2780 | 2787 | | |
2781 | | - | |
| 2788 | + | |
2782 | 2789 | | |
2783 | 2790 | | |
2784 | 2791 | | |
| |||
2790 | 2797 | | |
2791 | 2798 | | |
2792 | 2799 | | |
| 2800 | + | |
2793 | 2801 | | |
2794 | 2802 | | |
2795 | 2803 | | |
| |||
2800 | 2808 | | |
2801 | 2809 | | |
2802 | 2810 | | |
| 2811 | + | |
2803 | 2812 | | |
2804 | 2813 | | |
2805 | 2814 | | |
| |||
2816 | 2825 | | |
2817 | 2826 | | |
2818 | 2827 | | |
2819 | | - | |
2820 | 2828 | | |
2821 | 2829 | | |
2822 | 2830 | | |
2823 | | - | |
2824 | | - | |
2825 | | - | |
2826 | 2831 | | |
2827 | | - | |
| 2832 | + | |
2828 | 2833 | | |
2829 | 2834 | | |
2830 | 2835 | | |
| |||
2834 | 2839 | | |
2835 | 2840 | | |
2836 | 2841 | | |
2837 | | - | |
2838 | | - | |
2839 | | - | |
2840 | | - | |
2841 | 2842 | | |
2842 | 2843 | | |
2843 | | - | |
| 2844 | + | |
2844 | 2845 | | |
2845 | 2846 | | |
2846 | 2847 | | |
| |||
3101 | 3102 | | |
3102 | 3103 | | |
3103 | 3104 | | |
3104 | | - | |
| 3105 | + | |
3105 | 3106 | | |
3106 | 3107 | | |
3107 | 3108 | | |
| |||
0 commit comments