alistair23-linux/tools/perf/util
Jiri Olsa 6a4d98d787 perf tools: Add perf_data_file__open interface to data object
Adding perf_data_file__open interface to data object to open the
perf.data file for both read and write.

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1381847254-28809-3-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2013-10-21 17:33:24 -03:00
..
include tools/perf: Turn strlcpy() into a __weak function 2013-10-09 08:48:49 +02:00
scripting-engines perf scripting perl: Fix build error on Fedora 12 2013-10-15 08:34:00 -03:00
abspath.c
alias.c
annotate.c perf annotate: Find kcore symbols on other maps 2013-10-14 10:29:20 -03:00
annotate.h perf tools: Separate out GTK codes to libperf-gtk.so 2013-10-09 15:55:25 -03:00
bitmap.c
build-id.c perf tools: Add attr->mmap2 support 2013-09-11 10:09:32 -03:00
build-id.h
cache.h tools/perf: Turn strlcpy() into a __weak function 2013-10-09 08:48:49 +02:00
callchain.c perf callchain: Convert children list to rbtree 2013-10-21 17:33:23 -03:00
callchain.h perf callchain: Convert children list to rbtree 2013-10-21 17:33:23 -03:00
cgroup.c
cgroup.h
color.c
color.h
config.c
cpumap.c perf stat: Add per-core aggregation 2013-03-25 16:13:26 -03:00
cpumap.h perf tools: Rename cpu_map__all() to cpu_map__empty() 2013-07-12 13:45:44 -03:00
ctype.c
data.c perf tools: Add perf_data_file__open interface to data object 2013-10-21 17:33:24 -03:00
data.h perf tools: Add perf_data_file__open interface to data object 2013-10-21 17:33:24 -03:00
debug.c perf tools: Fix TUI helpline output 2012-12-09 08:46:07 -03:00
debug.h perf evsel: Introduce perf_evsel__open_strerror method 2013-01-24 16:40:09 -03:00
dso.c perf tools: Save failed result of get_srcline() 2013-10-09 16:02:02 -03:00
dso.h perf tools: Save failed result of get_srcline() 2013-10-09 16:02:02 -03:00
dwarf-aux.c perf probe: Fix to find line information for probe list 2013-10-04 15:16:05 -03:00
dwarf-aux.h perf probe: Fix to find line information for probe list 2013-10-04 15:16:05 -03:00
environment.c
event.c perf tools: Add attr->mmap2 support 2013-09-11 10:09:32 -03:00
event.h perf evlist: Fix perf_evlist__mmap_read event overflow 2013-10-11 12:17:40 -03:00
evlist.c perf evlist: Factor out duplicated mmap code 2013-10-21 11:19:43 -03:00
evlist.h perf trace: Improve messages related to /proc/sys/kernel/perf_event_paranoid 2013-10-17 17:38:29 -03:00
evsel.c perf evsel: Add missing decrement in id sample parsing 2013-10-21 11:18:49 -03:00
evsel.h tools/perf/stat: Add perf stat --transaction 2013-10-04 10:06:07 +02:00
exec_cmd.c
exec_cmd.h
generate-cmdlist.sh tools/perf: Standardize feature support define names to: HAVE_{FEATURE}_SUPPORT 2013-10-09 08:48:28 +02:00
header.c perf session: Fix infinite loop on invalid perf.data file 2013-10-04 15:17:46 -03:00
header.h perf header: Recognize version number for perf data file 2013-07-17 17:04:00 -03:00
help.c
help.h
hist.c perf annotate: Factor out get/free_srcline() 2013-10-09 15:59:39 -03:00
hist.h perf tools: Separate out GTK codes to libperf-gtk.so 2013-10-09 15:55:25 -03:00
hweight.c
intlist.c perf util: Add findnew method to intlist 2013-10-14 10:28:48 -03:00
intlist.h perf util: Add findnew method to intlist 2013-10-14 10:28:48 -03:00
levenshtein.c
levenshtein.h
machine.c perf symbols: Make a separate function to parse /proc/modules 2013-10-11 12:17:57 -03:00
machine.h perf machine: Add method to loop over threads and invoke handler 2013-10-11 12:17:51 -03:00
map.c perf annotate: Another fix for annotate_browser__callq() 2013-10-14 12:21:18 -03:00
map.h perf annotate: Another fix for annotate_browser__callq() 2013-10-14 12:21:18 -03:00
pager.c
parse-events.c perf list: Show error if tracepoints not available 2013-10-21 17:33:22 -03:00
parse-events.h perf parse events: Demystify memory allocations 2013-07-12 13:52:05 -03:00
parse-events.l perf tools: Move start conditions to start of the flex file 2013-10-11 12:17:31 -03:00
parse-events.y perf parse events: Demystify memory allocations 2013-07-12 13:52:05 -03:00
parse-options.c
parse-options.h
path.c tools/perf: Turn strlcpy() into a __weak function 2013-10-09 08:48:49 +02:00
PERF-VERSION-GEN perf tools: Align perf version output to other build messages 2013-10-11 12:18:10 -03:00
perf_regs.h tools/perf: Standardize feature support define names to: HAVE_{FEATURE}_SUPPORT 2013-10-09 08:48:28 +02:00
pmu.c tools/perf/stat: Add perf stat --transaction 2013-10-04 10:06:07 +02:00
pmu.h tools/perf/stat: Add perf stat --transaction 2013-10-04 10:06:07 +02:00
pmu.l
pmu.y perf tools: Fix build with bison 2.3 and older. 2013-02-14 16:12:34 -03:00
probe-event.c tools/perf: Standardize feature support define names to: HAVE_{FEATURE}_SUPPORT 2013-10-09 08:48:28 +02:00
probe-event.h
probe-finder.c perf probe: Fix to find line information for probe list 2013-10-04 15:16:05 -03:00
probe-finder.h tools/perf: Standardize feature support define names to: HAVE_{FEATURE}_SUPPORT 2013-10-09 08:48:28 +02:00
pstack.c
pstack.h
python-ext-sources perf tools: Introduce tools/lib/lk library 2013-03-15 13:06:00 -03:00
python.c perf tools: Adding throttle event data struct support 2013-10-09 11:39:18 -03:00
quote.c
quote.h
rblist.c perf util: Add findnew method to intlist 2013-10-14 10:28:48 -03:00
rblist.h perf util: Add findnew method to intlist 2013-10-14 10:28:48 -03:00
record.c perf tools: Add support for PERF_SAMPLE_IDENTIFIER 2013-08-29 16:09:31 -03:00
run-command.c
run-command.h
session.c perf tools: Add perf_data_file__open interface to data object 2013-10-21 17:33:24 -03:00
session.h perf tools: Add perf_data_file__open interface to data object 2013-10-21 17:33:24 -03:00
setup.py perf tools: Merge all *CFLAGS* make variable into CFLAGS 2013-05-30 16:12:03 +03:00
sigchain.c
sigchain.h
sort.c perf tools: Compare dso's also when comparing symbols 2013-10-21 17:33:23 -03:00
sort.h tools/perf: Add support for record transaction flags 2013-10-04 10:06:12 +02:00
srcline.c perf tools: Fix old GCC build error in 'get_srcline' 2013-10-14 10:28:52 -03:00
stat.c perf stats: Add max and min stats 2013-08-07 17:35:26 -03:00
stat.h perf stats: Add max and min stats 2013-08-07 17:35:26 -03:00
strbuf.c
strbuf.h
strfilter.c
strfilter.h
string.c perf tools: Default to cpu// for events v5 2013-07-12 13:53:52 -03:00
strlist.c perf probe: Fix segfault 2013-03-13 17:00:33 -03:00
strlist.h perf tools: Stop using 'self' in strlist 2013-01-25 12:49:28 -03:00
svghelper.c
svghelper.h
symbol-elf.c perf symbols: Fix a mmap and munmap mismatched bug 2013-10-14 12:21:23 -03:00
symbol-minimal.c perf buildid-cache: Add ability to add kcore to the cache 2013-10-14 12:20:38 -03:00
symbol.c perf symbols: Fix a memory leak due to symbol__delete not being used 2013-10-14 12:21:20 -03:00
symbol.h perf buildid-cache: Add ability to add kcore to the cache 2013-10-14 12:20:38 -03:00
sysfs.c perf tools: Fix possible (unlikely) buffer overflow 2013-01-24 16:40:18 -03:00
sysfs.h
target.c
target.h
thread.c perf tools: Add pid to struct thread 2013-08-27 11:05:53 -03:00
thread.h perf tools: Add pid to struct thread 2013-08-27 11:05:53 -03:00
thread_map.c
thread_map.h perf evlist: Add thread_map__nr() helper 2013-03-15 13:06:02 -03:00
tool.h perf tools: Add attr->mmap2 support 2013-09-11 10:09:32 -03:00
top.c perf top: Fix percent output when no samples collected 2013-05-28 16:23:59 +03:00
top.h perf top: move CONSOLE_CLEAR to header file 2013-08-07 17:35:26 -03:00
trace-event-info.c perf util: No need to call read_trace_init() in tracing_data_header() 2013-07-12 13:52:31 -03:00
trace-event-parse.c perf tools: Remove unused trace-event-* code 2013-10-09 11:15:28 -03:00
trace-event-read.c perf util: Parse header_page to get proper long size 2013-07-12 13:52:24 -03:00
trace-event-scripting.c perf script: Fix named threads support 2013-07-22 11:55:53 -03:00
trace-event.h perf tools: Remove unused trace-event-* code 2013-10-09 11:15:28 -03:00
types.h
unwind.c perf tools: Remove filter parameter of thread__find_addr_map() 2013-08-12 10:31:12 -03:00
unwind.h tools/perf: Standardize feature support define names to: HAVE_{FEATURE}_SUPPORT 2013-10-09 08:48:28 +02:00
usage.c
util.c perf tools: Introduce filename__read_int helper 2013-10-17 16:33:43 -03:00
util.h perf tools: Introduce filename__read_int helper 2013-10-17 16:33:43 -03:00
values.c
values.h
vdso.c perf symbols: Fix vdso list searching 2013-07-08 17:59:07 -03:00
vdso.h
wrapper.c
xyarray.c
xyarray.h