perf evsel: Rename print_ip() to fprintf_sym()
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 11 Apr 2016 14:14:06 +0000 (11:14 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 12 Apr 2016 01:18:17 +0000 (22:18 -0300)
commitff0c107806cf9d237e50e21de66d6909391071cd
treeb4a30706632161df4e73f1353b1daa8205102c3d
parent566a08859f63a33746e25246c5cda0f52528d2e4
perf evsel: Rename print_ip() to fprintf_sym()

As it receives a FILE, and its more than just the IP, which can even be
requested not to be printed.

For consistency with other similar methods in tools/perf/, name it as
perf_evsel__fprintf_sym() and make it return the number of bytes
printed, just like 'fprintf(3)'

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>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-84gawlqa3lhk63nf0t9vnqnn@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/session.c
tools/perf/util/session.h
This page took 0.02658 seconds and 5 git commands to generate.