tools lib bpf: Rename bpf_map__get_fd() to bpf_map__fd()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 3 Jun 2016 15:15:52 +0000 (12:15 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 6 Jun 2016 21:19:15 +0000 (18:19 -0300)
commit6e009e65a1e5202313fdaccde3bcb94272989eba
tree869f3325da819554f49121576743bcfe0587dacc
parent53897a78ca6d4bd64e8c17d76cfec65d237f9447
tools lib bpf: Rename bpf_map__get_fd() to bpf_map__fd()

For consistency, leaving "get" for reference counting.

Acked-by: Wang Nan <wangnan0@huawei.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Milian Wolff <milian.wolff@kdab.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/n/tip-msy8sxfz9th6gl2xjeci2btm@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/bpf/libbpf.c
tools/lib/bpf/libbpf.h
tools/perf/util/bpf-loader.c