]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
perf tools: Introduce binary__fprintf()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 17 Oct 2017 13:35:00 +0000 (10:35 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 23 Oct 2017 19:30:52 +0000 (16:30 -0300)
commit923d0c9ae570c3f33a0b5a9517c23ccc816d9b75
treef04db4f73f7c6b87f8ecfdbd718a57ceb7d15c58
parent7958e541495d7f99cefef2300b2c388865626c2e
perf tools: Introduce binary__fprintf()

Out of print_binary() but receiving a fp pointer and expecting that the
printer be a fprintf like function, i.e. receive a FILE pointer and
return the number of characters printed.

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>
Cc: yuzhoujian <yuzhoujian@didichuxing.com>
Link: http://lkml.kernel.org/n/tip-6oqnxr6lmgqe6q6p3iugnscx@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-script.c
tools/perf/builtin-trace.c
tools/perf/util/debug.c
tools/perf/util/print_binary.c
tools/perf/util/print_binary.h