perf bpf: Add bpf__setup_output_event() strerror() counterpart
commitaa31be3a4874d91fb40d872f1865805ab411035c
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 6 Aug 2018 14:35:37 +0000 (6 11:35 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 8 Aug 2018 18:55:56 +0000 (8 15:55 -0300)
tree59c32921d52f595a0127c99a0ef7c4fde39d4804
parent92bbe8d834d293c4db7a70fd53884ec1c95d61dc
perf bpf: Add bpf__setup_output_event() strerror() counterpart

That is just bpf__strerror_setup_stdout() renamed to the more general
"setup_output_event" method, keep the existing stdout() as a wrapper.

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