kernel_optimize_test/tools
Anju T Sudhakar 124eb5f82b perf kvm: Add arch neutral function to choose event for perf kvm record
'perf kvm record' uses 'cycles'(if the user did not specify any event)
as the default event to profile the guest.

This will not provide any proper samples from the guest incase of
powerpc architecture, since in powerpc the PMUs are controlled by the
guest rather than the host.

Patch adds a function to pick an arch specific event for 'perf kvm
record', instead of selecting 'cycles' as a default event for all
architectures.

For powerpc this function checks for any user specified event, and if
there isn't any it returns invalid instead of proceeding with 'cycles'
event.

Signed-off-by: Anju T Sudhakar <anju@linux.vnet.ibm.com>
Reviewed-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: linuxppc-dev@lists.ozlabs.org
Link: http://lore.kernel.org/lkml/20190718181749.30612-2-anju@linux.vnet.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2019-09-20 10:28:26 -03:00
..
accounting
arch perf intel-pt: Use shared x86 insn decoder 2019-08-31 22:27:52 -03:00
bpf tools: bpftool: close prog FD before exit on showing a single program 2019-08-15 22:09:41 -07:00
build tools build: Add capability-related feature detection 2019-08-12 17:14:14 -03:00
cgroup
crypto
debugging
firewire
firmware
gpio
hv Tools: hv: kvp: eliminate 'may be used uninitialized' warning 2019-08-20 11:29:53 -04:00
iio
include Linux 5.3-rc6 2019-08-26 11:59:57 +02:00
io_uring
kvm/kvm_stat
laptop
leds
lib tools lib traceevent: Convert remaining %p[fF] users to %p[sS] 2019-09-20 10:28:26 -03:00
memory-model
nfsd
objtool objtool: Ignore intentional differences for the x86 insn decoder 2019-08-31 22:27:52 -03:00
pci
pcmcia
perf perf kvm: Add arch neutral function to choose event for perf kvm record 2019-09-20 10:28:26 -03:00
power tools/power turbostat: update version number 2019-08-31 14:48:39 -04:00
scripts
spi
testing Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-08-27 10:12:48 -07:00
thermal/tmon
time
usb
virtio
vm
wmi
Makefile tools: Keep list of tools in alphabetical order 2019-08-14 10:59:59 -03:00