linux_dsm_epyc7002/tools/perf/util
Alexey Budankov b3f35b5d5d perf report: Extend raw dump (-D) out with switch out event type
Print additional 'preempt' tag for PERF_RECORD_SWITCH[_CPU_WIDE] OUT records when
event header misc field contains PERF_RECORD_MISC_SWITCH_OUT_PREEMPT bit set
designating preemption context switch out event:

tools/perf/perf report -D -i perf.data | grep _SWITCH

0 768361415226 0x27f076 [0x28]: PERF_RECORD_SWITCH_CPU_WIDE IN           prev pid/tid:     8/8
4 768362216813 0x28f45e [0x28]: PERF_RECORD_SWITCH_CPU_WIDE OUT          next pid/tid:     0/0
4 768362217824 0x28f486 [0x28]: PERF_RECORD_SWITCH_CPU_WIDE IN           prev pid/tid:  4073/4073
0 768362414027 0x27f0ce [0x28]: PERF_RECORD_SWITCH_CPU_WIDE OUT preempt  next pid/tid:     8/8
0 768362414367 0x27f0f6 [0x28]: PERF_RECORD_SWITCH_CPU_WIDE IN           prev pid/tid:     0/0

Signed-off-by: Alexey Budankov <alexey.budankov@linux.intel.com>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/6f5aebb9-b96c-f304-f08f-8f046d38de4f@linux.intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2018-04-17 09:47:39 -03:00
..
c++ perf tests clang: Fix function name for clang IR test 2018-04-09 11:13:09 -03:00
cs-etm-decoder
include
intel-pt-decoder
libunwind
scripting-engines
annotate.c perf annotate: Allow setting the offset level in .perfconfig 2018-04-13 10:00:05 -03:00
annotate.h perf annotate: Allow showing offsets in more than just jump targets 2018-04-12 10:32:39 -03:00
arm-spe-pkt-decoder.c
arm-spe-pkt-decoder.h
arm-spe.c
arm-spe.h
auxtrace.c perf auxtrace: Make auxtrace_queues__add_buffer() do CPU filtering 2018-04-06 09:40:41 -03:00
auxtrace.h
block-range.c
block-range.h
bpf-loader.c
bpf-loader.h
bpf-prologue.c
bpf-prologue.h
branch.c
branch.h
Build
build-id.c
build-id.h
cache.h
call-path.c
call-path.h
callchain.c
callchain.h
cgroup.c perf tools: Fix snprint warnings for gcc 8 2018-03-19 10:00:43 -03:00
cgroup.h
cloexec.c
cloexec.h
color.c
color.h
comm.c
comm.h
compress.h
config.c
config.h
counts.c
counts.h
cpumap.c
cpumap.h
cs-etm.c
cs-etm.h
ctype.c
data-convert-bt.c
data-convert-bt.h
data-convert.h
data.c
data.h
db-export.c
db-export.h
debug.c perf debug: Avoid setting 'quiet' to 'true' unnecessarily 2018-03-16 16:39:02 -03:00
debug.h
demangle-java.c
demangle-java.h
demangle-rust.c
demangle-rust.h
drv_configs.c
drv_configs.h
dso.c
dso.h
dump-insn.c
dump-insn.h
dwarf-aux.c perf config: Rename to HAVE_DWARF_GETLOCATIONS_SUPPORT 2018-04-02 13:50:24 -03:00
dwarf-aux.h
dwarf-regs.c
env.c
env.h
event.c perf report: Extend raw dump (-D) out with switch out event type 2018-04-17 09:47:39 -03:00
event.h
evlist.c
evlist.h
evsel_fprintf.c
evsel.c
evsel.h
expr.h
expr.y
find-vdso-map.c
genelf_debug.c
genelf.c
genelf.h
generate-cmdlist.sh perf tools: Rename HAVE_SYSCALL_TABLE to HAVE_SYSCALL_TABLE_SUPPORT 2018-04-12 10:33:31 -03:00
group.h
header.c perf record: Change warning for missing sysfs entry to debug 2018-04-13 09:59:56 -03:00
header.h
help-unknown-cmd.c
help-unknown-cmd.h
hist.c perf hists: Move hists__scnprintf_title() away from the TUI code 2018-04-03 10:23:32 -03:00
hist.h perf hists: Introduce hists__scnprint_title() 2018-04-03 10:23:18 -03:00
intel-bts.c
intel-bts.h
intel-pt.c
intel-pt.h
intlist.c
intlist.h
jit.h
jitdump.c
jitdump.h
kvm-stat.h
levenshtein.c
levenshtein.h
llvm-utils.c perf llvm: Display eBPF compiling command in debug output 2018-03-16 13:56:12 -03:00
llvm-utils.h
lzma.c
machine.c perf machine: Fix mmap name setup 2018-03-16 13:56:25 -03:00
machine.h
map.c
map.h perf tools: Add a "dso_size" sort order 2018-04-02 07:57:37 -03:00
mem2node.c
mem2node.h
mem-events.c
mem-events.h
memswap.c
memswap.h
metricgroup.c
metricgroup.h
mmap.c perf mmap: Be consistent when checking for an unmaped ring buffer 2018-03-27 13:13:38 -03:00
mmap.h
namespaces.c
namespaces.h
ordered-events.c
ordered-events.h
parse-branch-options.c
parse-branch-options.h
parse-events.c perf tools: Fix snprint warnings for gcc 8 2018-03-19 10:00:43 -03:00
parse-events.h
parse-events.l
parse-events.y
parse-regs-options.c
parse-regs-options.h
path.c
path.h
perf_regs.c
perf_regs.h
perf-hooks-list.h
perf-hooks.c
perf-hooks.h
PERF-VERSION-GEN
pmu.c perf tools: Fix snprint warnings for gcc 8 2018-03-19 10:00:43 -03:00
pmu.h
pmu.l
pmu.y
print_binary.c
print_binary.h
probe-event.c
probe-event.h
probe-file.c
probe-file.h
probe-finder.c perf probe: Use right type to access array elements 2018-03-19 13:51:53 -03:00
probe-finder.h
pstack.c
pstack.h
python-ext-sources
python.c perf python: Reference Py_None before returning it 2018-03-23 16:45:20 -03:00
quote.c
quote.h
rb_resort.h
rblist.c
rblist.h
record.c
rwsem.c
rwsem.h
sane_ctype.h
session.c perf report: Remove duplicated 'samples' in lost samples warning 2018-04-05 14:34:09 -03:00
session.h
setns.c
setup.py perf tools: Fix python extension build for gcc 8 2018-03-19 13:39:46 -03:00
smt.c
smt.h
sort.c perf tools: Add a "dso_size" sort order 2018-04-02 07:57:37 -03:00
sort.h perf tools: Add a "dso_size" sort order 2018-04-02 07:57:37 -03:00
srcline.c
srcline.h
stat-shadow.c
stat.c perf stat: Make function perf_stat_evsel_id_init static 2018-03-16 13:56:17 -03:00
stat.h perf stat: Make function perf_stat_evsel_id_init static 2018-03-16 13:56:17 -03:00
strbuf.c
strbuf.h
strfilter.c
strfilter.h
string2.h
string.c
strlist.c
strlist.h
svghelper.c
svghelper.h
symbol_fprintf.c
symbol-elf.c
symbol-minimal.c
symbol.c perf report: Fix switching to another perf.data file 2018-04-13 10:00:04 -03:00
symbol.h
syscalltbl.c perf tools: Rename HAVE_SYSCALL_TABLE to HAVE_SYSCALL_TABLE_SUPPORT 2018-04-12 10:33:31 -03:00
syscalltbl.h
target.c
target.h
term.c
term.h
thread_map.c
thread_map.h
thread-stack.c
thread-stack.h
thread.c
thread.h
time-utils.c
time-utils.h
tool.h
top.c
top.h
trace-event-info.c
trace-event-parse.c
trace-event-read.c
trace-event-scripting.c perf script: Use HAVE_LIBXXX_SUPPORT to replace NO_LIBXXX 2018-04-12 10:33:29 -03:00
trace-event.c
trace-event.h
trigger.h
tsc.c
tsc.h
units.c
units.h
unwind-libdw.c perf unwind: Report error from dwfl_attach_state 2018-03-20 13:16:09 -03:00
unwind-libdw.h
unwind-libunwind-local.c
unwind-libunwind.c
unwind.h
usage.c
util-cxx.h
util.c
util.h perf tools: No need to include namespaces.h in util.h 2018-04-09 10:57:50 -03:00
values.c
values.h
vdso.c
vdso.h
xyarray.c
xyarray.h
zlib.c