Leo Yan
6035b6804b
perf cs-etm: Support dummy address value for CS_ETM_TRACE_ON packet
...
For CS_ETM_TRACE_ON packet, its fields 'packet->start_addr' and
'packet->end_addr' equal to 0xdeadbeefdeadbeefUL which are emitted in
the decoder layer as dummy value, but the dummy value is pointless for
branch sample when we use 'perf script' command to check program flow.
This patch is a preparation to support CS_ETM_TRACE_ON packet for branch
sample, it converts the dummy address value to zero for more readable;
this is accomplished by cs_etm__last_executed_instr() and
cs_etm__first_executed_instr(). The later one is a new function
introduced by this patch.
Signed-off-by: Leo Yan <leo.yan@linaro.org>
Reviewed-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Kim Phillips <kim.phillips@arm.com>
Cc: Mike Leach <mike.leach@linaro.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Robert Walker <robert.walker@arm.com>
Cc: linux-arm-kernel@lists.infradead.org
Link: http://lkml.kernel.org/r/1531295145-596-5-git-send-email-leo.yan@linaro.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2018-07-31 10:58:29 -03:00
..
arch
Merge remote-tracking branch 'tip/perf/urgent' into perf/core
2018-07-31 09:55:45 -03:00
bench
tools arch: Update arch/x86/lib/memcpy_64.S copy used in 'perf bench mem memcpy'
2018-07-30 12:36:51 -03:00
Documentation
perf list: Add missing documentation for --desc and --debug options
2018-07-24 14:49:57 -03:00
examples /bpf
perf bpf: Add probe() helper to reduce kprobes boilerplate
2018-05-15 14:31:24 -03:00
include /bpf
perf bpf: Add probe() helper to reduce kprobes boilerplate
2018-05-15 14:31:24 -03:00
jvmti
perf tools: Fix compilation errors on gcc8
2018-07-11 09:39:57 -04:00
pmu-events
perf json: Add s390 transaction counter definition
2018-07-24 14:49:30 -03:00
python
scripts
perf scripts python: Add Python 3 support to EventClass.py
2018-07-11 10:01:50 -03:00
tests
perf tests: Fix indexing when invoking subtests
2018-07-31 10:52:51 -03:00
trace
perf trace beauty: Add beautifiers for 'socket''s 'protocol' arg
2018-07-31 10:52:47 -03:00
ui
perf hists: Clarify callchain disabling when available
2018-07-24 14:37:33 -03:00
util
perf cs-etm: Support dummy address value for CS_ETM_TRACE_ON packet
2018-07-31 10:58:29 -03:00
.gitignore
Build
builtin-annotate.c
perf tools: Fix crash caused by accessing feat_ops[HEADER_LAST_FEATURE]
2018-06-25 11:59:37 -03:00
builtin-bench.c
builtin-buildid-cache.c
perf buildid-cache: Warn --purge-all failures
2018-05-15 10:32:16 -03:00
builtin-buildid-list.c
builtin-c2c.c
perf c2c report: Fix crash for empty browser
2018-07-31 10:53:20 -03:00
builtin-config.c
builtin-data.c
builtin-diff.c
perf hists: Clarify callchain disabling when available
2018-07-24 14:37:33 -03:00
builtin-evlist.c
builtin-ftrace.c
builtin-help.c
perf tools: Rename HAVE_SYSCALL_TABLE to HAVE_SYSCALL_TABLE_SUPPORT
2018-04-12 10:33:31 -03:00
builtin-inject.c
perf thread: Make thread__find_map() return the map
2018-04-26 13:47:08 -03:00
builtin-kallsyms.c
perf machine: Ditch find_kernel_function variants
2018-04-30 12:20:54 -03:00
builtin-kmem.c
perf machine: Ditch find_kernel_function variants
2018-04-30 12:20:54 -03:00
builtin-kvm.c
perf tools: Ditch the symbol_conf.nr_events global
2018-06-04 10:28:52 -03:00
builtin-list.c
builtin-lock.c
builtin-mem.c
perf mem: Allow all record/report options
2018-04-18 15:35:48 -03:00
builtin-probe.c
perf tools: No need to check if the argument to __get() function is NULL
2018-06-04 10:28:50 -03:00
builtin-record.c
builtin-report.c
perf hists: Clarify callchain disabling when available
2018-07-24 14:37:33 -03:00
builtin-sched.c
perf sched: Use sched->show_callchain where appropriate
2018-06-05 10:09:54 -03:00
builtin-script.c
perf tools: Fix crash caused by accessing feat_ops[HEADER_LAST_FEATURE]
2018-06-25 11:59:37 -03:00
builtin-stat.c
perf stat: Get rid of extra clock display function
2018-07-24 14:54:58 -03:00
builtin-timechart.c
perf thread: Make thread__find_symbol() return the symbol searched
2018-04-26 13:47:09 -03:00
builtin-top.c
perf hists: Clarify callchain disabling when available
2018-07-24 14:37:33 -03:00
builtin-trace.c
perf trace: Beautify the AF_INET & AF_INET6 'socket' syscall 'protocol' args
2018-07-31 10:52:49 -03:00
builtin-version.c
perf version: Print status for syscall_table
2018-04-12 10:33:34 -03:00
builtin.h
check-headers.sh
tools include uapi: Grab a copy of linux/in.h
2018-07-31 10:52:37 -03:00
command-list.txt
CREDITS
design.txt
Makefile
Makefile.config
perf build: Fix installation directory for eBPF
2018-07-31 10:54:50 -03:00
Makefile.perf
perf trace beauty: Add beautifiers for 'socket''s 'protocol' arg
2018-07-31 10:52:47 -03:00
MANIFEST
perf-archive.sh
perf-completion.sh
perf-read-vdso.c
perf-sys.h
perf-with-kcore.sh
perf.c
perf tools: Remove dead quote.[ch] code
2018-06-04 10:28:50 -03:00
perf.h
perf tools: Fix the build on the alpine:edge distro
2018-07-30 13:15:03 -03:00