summaryrefslogtreecommitdiffstats
path: root/tools/iio/lsiio.c
diff options
context:
space:
mode:
authorJiri Olsa2017-10-11 17:01:40 +0200
committerArnaldo Carvalho de Melo2017-11-16 18:37:49 +0100
commit073ae601edc211383b62618effaaedaa8b1d22db (patch)
tree2a4187da8332b9fb549bf5b927a3f7ddd6f286b6 /tools/iio/lsiio.c
parentperf annotate: Add samples into struct annotation_line (diff)
downloadkernel-qcow2-linux-073ae601edc211383b62618effaaedaa8b1d22db.tar.gz
kernel-qcow2-linux-073ae601edc211383b62618effaaedaa8b1d22db.tar.xz
kernel-qcow2-linux-073ae601edc211383b62618effaaedaa8b1d22db.zip
perf annotate: Add symbol__calc_percent function
Add symbol__calc_percent function, that calculates annotation data for symbol and put the data in the struct annotation_line::samples array. Committer notes: Made symbol__calc_percent non static to be used in the next two patches, which will get some fixups from jolsa, doing it this way to keep this bisectable. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: Andi Kleen <andi@firstfloor.org> Cc: David Ahern <dsahern@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/20171011150158.11895-18-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/iio/lsiio.c')
0 files changed, 0 insertions, 0 deletions