Hi,
On Thu, 22 Aug 2019 18:32:54 +0800
Jisheng Zhang wrote:
> On Thu, 22 Aug 2019 15:52:05 +0530
> "Naveen N. Rao" wrote:
>
> >
> >
> > Jisheng Zhang wrote:
> > > Hi,
> > >
> > > On Thu, 22 Aug 2019 12:23:58 +0530
> > > "Naveen N. Rao" wrote:
> > >> Jisheng Zhang wrote:
> > ...
On Thu, 22 Aug 2019 15:52:05 +0530
"Naveen N. Rao" wrote:
>
>
> Jisheng Zhang wrote:
> > Hi,
> >
> > On Thu, 22 Aug 2019 12:23:58 +0530
> > "Naveen N. Rao" wrote:
> >> Jisheng Zhang wrote:
> ...
> >> > +/* Ftrace callback handler for kprobes -- called under preepmt
> >> > disabed */
> >> >
Jisheng Zhang wrote:
Hi,
On Thu, 22 Aug 2019 12:23:58 +0530
"Naveen N. Rao" wrote:
Jisheng Zhang wrote:
...
> +/* Ftrace callback handler for kprobes -- called under preepmt
> disabed */
> +void kprobe_ftrace_handler(unsigned long ip, unsigned long parent_ip,
> +stru
Hi,
On Thu, 22 Aug 2019 12:23:58 +0530
"Naveen N. Rao" wrote:
>
>
> Jisheng Zhang wrote:
> > KPROBES_ON_FTRACE avoids much of the overhead with regular kprobes as it
> > eliminates the need for a trap, as well as the need to emulate or
> > single-step instructions.
> >
> > Tested on berlin ar
Jisheng Zhang wrote:
KPROBES_ON_FTRACE avoids much of the overhead with regular kprobes as it
eliminates the need for a trap, as well as the need to emulate or
single-step instructions.
Tested on berlin arm64 platform.
~ # mount -t debugfs debugfs /sys/kernel/debug/
~ # cd /sys/kernel/debug/
/s