android_kernel_oneplus_msm8998/include
Sanrio Alvares e663ad89f8 trace, scm: trace scm calls
Create a scm group to enable profiling time spent in a scm call.
This will help determine which scm call is spending how much time in
a higher execution level.
To enable "echo 1 > /sys/kernel/debug/tracing/events/scm/enable".
It is disabled by default. If enabled, traces can be found in
Ftrace logs.

Ftrace Output Example:
PROCESS             CPU    TIME        SCM ID, X0, Number of args, args[0-2], X5, return values [0-2]
kworker/u8:4-329   [002]   128.201129: scm_call_start: func id=0x42000904 (args: 0x6, 0x2, 0x200000000, 0x65b8000000019, 0x142e0f000)
kworker/u8:4-329   [002]   128.201383: scm_call_end: ret: 0, 0, 0x4a07e00000001
kworker/u8:4-329   [002]   128.201464: scm_call_start: func id=0x42000904 (args: 0x6, 0x3, 0x1312d0000000000, 0x17900000000, 0x142e0f000)
kworker/u8:4-329   [002]   128.201542: scm_call_end: ret: 0x1bf03dddddd, 0x2f72656b726f776b, 0x343a32

CRs-Fixed: 969770
Change-Id: I4e5aaff796dbc9457c55fa529114dcb57780b7ec
Signed-off-by: Sanrio Alvares <salvares@codeaurora.org>
2016-03-23 21:21:34 -07:00
..
acpi
asm-generic arm64: Enable dma_mmap_nonconsistent 2016-03-22 11:11:56 -07:00
clocksource
crypto Merge remote-tracking branch 'lsk-44/linux-linaro-lsk-v4.4' into 44rc2 2016-03-23 20:51:00 -07:00
drm drm/nouveau: Fix pre-nv50 pageflip events (v4) 2015-12-04 13:49:38 +10:00
dt-bindings clk: msm: clock-cpu-8996: Increase CBF PLL post-divider to 4 for 8996pro 2016-03-23 21:21:24 -07:00
keys
kvm KVM: arm/arm64: arch_timer: Preserve physical dist. active state on LR.active 2015-11-24 18:07:40 +01:00
linux misc: Add snapshot of QPNP misc driver 2016-03-23 21:21:22 -07:00
math-emu
media msm: camera: add slave write array support 2016-03-23 21:17:15 -07:00
memory
misc
net cnss: Expose dump stack functionality 2016-03-23 21:21:25 -07:00
pcmcia
ras
rdma IB/mad: Require CM send method for everything except ClassPortInfo 2015-12-08 12:19:11 -05:00
rxrpc
scsi scsi: include device.h in scsi.h 2016-03-22 11:01:03 -07:00
soc soc: qcom: Expose TZ specific device id to other functions 2016-03-23 21:20:08 -07:00
sound ASoC: msm: Use legacy ASM APIs for older targets 2016-03-23 21:21:16 -07:00
target target: Fix race for SCF_COMPARE_AND_WRITE_POST checking 2015-11-28 19:33:15 -08:00
trace trace, scm: trace scm calls 2016-03-23 21:21:34 -07:00
uapi ASoC: msm: Add support to query speaker parameters 2016-03-23 21:20:59 -07:00
video msm: dba: add additional audio configuration parameters 2016-03-23 21:14:49 -07:00
xen xen: Add RING_COPY_REQUEST() 2015-12-18 10:00:17 -05:00
Kbuild