]> git.baikalelectronics.ru Git - kernel.git/commit
samples/bpf: fix trace_output example
authorAlexei Starovoitov <ast@fb.com>
Thu, 28 Apr 2016 01:56:22 +0000 (18:56 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Apr 2016 21:29:45 +0000 (17:29 -0400)
commitf7319681193043a97a0d13d4b701ea392d6f8af4
treed19ff13218ada2b400bece7a058919478afea9ce
parent12b1881a84d007570b8a6916a0afe2ad8fae5570
samples/bpf: fix trace_output example

llvm cannot always recognize memset as builtin function and optimize
it away, so just delete it. It was a leftover from testing
of bpf_perf_event_output() with large data structures.

Fixes: 25137e709075 ("samples: bpf: add bpf_perf_event_output example")
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
samples/bpf/trace_output_kern.c