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)
commit569cc39d39385a74b23145496bca2df5ac8b2fb8
treed19ff13218ada2b400bece7a058919478afea9ce
parent6aff67c85c9e5a4bc99e5211c1bac547936626ca
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: 39111695b1b8 ("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