Re: [PATCHv4 0/3] bpf: trampoline fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jan 23, 2020 at 8:15 AM Jiri Olsa <jolsa@xxxxxxxxxx> wrote:
>
> hi,
> sending 2 fixes to fix kernel support for loading
> trampoline programs in bcc/bpftrace and allow to
> unwind through trampoline/dispatcher.
>
> Original rfc post [1].
>
> Speedup output of perf bench while running klockstat.py
> on kprobes vs trampolines:
>
>     Without:
>             $ perf bench sched messaging -l 50000
>             ...
>                  Total time: 18.571 [sec]
>
>     With current kprobe tracing:
>             $ perf bench sched messaging -l 50000
>             ...
>                  Total time: 183.395 [sec]
>
>     With kfunc tracing:
>             $ perf bench sched messaging -l 50000
>             ...
>                  Total time: 39.773 [sec]
>
> v4 changes:
>   - rebased on latest bpf-next/master
>   - removed image tree mutex and use trampoline_mutex instead
>   - checking directly for string pointer in patch 1 [Alexei]
>   - skipped helpers patches, as they are no longer needed [Alexei]

Applied. Thanks



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux