diff options
author | 2015-01-29 17:02:01 -0300 | |
---|---|---|
committer | 2015-01-29 17:02:01 -0300 | |
commit | c52686f9f888d23ca72f1309e86af8e91d075697 (patch) | |
tree | 7098b1f13486d538e522191c577c632d3c6cb37e /scripts/gdb/linux/utils.py | |
parent | perf tools: Use perf_data_file__fd() consistently (diff) | |
download | wireguard-linux-c52686f9f888d23ca72f1309e86af8e91d075697.tar.xz wireguard-linux-c52686f9f888d23ca72f1309e86af8e91d075697.zip |
perf symbols: Convert lseek + read to pread
When dso_cache__read() is called, it reads data from the given offset
using lseek + normal read syscall. It can be combined to a single pread
syscall.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1422518843-25818-40-git-send-email-namhyung@kernel.org
[ Fixed it up when cherry picking it from the multi threaded patchkit ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions