Em Fri, Apr 08, 2016 at 03:07:24PM +0000, Wang Nan escreveu:
> This patch allows cloning bpf-output event configuration among multiple
> bpf scripts. If there exist a map named '__bpf_output__' and not configured
> using 'map:__bpf_output__.event=', this patch clones the configuration of
> another '__bpf_stdout__' map. For example, following command:
> 
>  # perf trace --ev bpf-output/no-inherit,name=evt/ \
>               --ev ./test_bpf_trace.c/map:__bpf_stdout__.event=evt/ \
>               --ev ./test_bpf_trace2.c usleep 100000
> 
> equals to:
> 
>  # perf trace --ev bpf-output/no-inherit,name=evt/ \
>               --ev ./test_bpf_trace.c/map:__bpf_stdout__.event=evt/  \
>               --ev ./test_bpf_trace2.c/map:__bpf_stdout__.event=evt/ \
>               usleep 100000

I'm fixing it, minor stuff, thanks for working on this!

[acme@jouet linux]$ am /wb/1.patch 
Applying: perf bpf: Clone bpf stdout events in multiple bpf scripts
/home/acme/git/linux/.git/rebase-apply/patch:135: trailing whitespace.
                
/home/acme/git/linux/.git/rebase-apply/patch:140: trailing whitespace.
                /* 
/home/acme/git/linux/.git/rebase-apply/patch:158: trailing whitespace.
                
error: patch failed: tools/perf/builtin-trace.c:3289
error: tools/perf/builtin-trace.c: patch does not apply

Reply via email to