samples/bpf: move ksym_search() into library
authorAlexei Starovoitov <ast@fb.com>
Tue, 8 Mar 2016 05:57:19 +0000 (21:57 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 8 Mar 2016 20:28:32 +0000 (15:28 -0500)
commit3622e7e4935105991dc648bca650c858576aecda
treed912d23d7c13a51fce638bd855fb37ef236cc26b
parent618ec9a7b1fda46f8dd4a630ded983aeb51218f3
samples/bpf: move ksym_search() into library

move ksym search from offwaketime into library to be reused
in other tests

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
samples/bpf/bpf_load.c
samples/bpf/bpf_load.h
samples/bpf/offwaketime_user.c