summaryrefslogtreecommitdiff
path: root/include/trace
AgeCommit message (Collapse)Author
2014-06-05Merge branch 'linux-3.10.40' into rel-21Ishan Mittal
Bug 200004122 Conflicts: drivers/cpufreq/cpufreq.c drivers/regulator/core.c sound/soc/codecs/max98090.c Change-Id: I9418a05ad5c56b2e902249218bac2fa594d99f56 Signed-off-by: Ishan Mittal <imittal@nvidia.com>
2014-05-16input: cfboost: Add EMC boostLi Li
Change-Id: Id9b7ea216b8c93e291cc95d7522ba21d15701eeb Reviewed-on: http://git-master/r/397838 Signed-off-by: Donghan Ryu <dryu@nvidia.com> Reviewed-on: http://git-master/r/402485 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2014-05-14syscalls: add trace events for system callsAlex Van Brunt
Add trace events for the entry point and exit point of all system calls. This makes it possible to account for the time spent in each system call. Change-Id: Iba88c0a38424ea8e986954e23f13f4417578379d Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com> Reviewed-on: http://git-master/r/407691 GVS: Gerrit_Virtual_Submit
2014-05-14drivers: cpuidle: add cpuidle trace evnetAlex Van Brunt
Add a trace event to the cpuidle menu governer that reports when the CPU enters idle and how long it expect to be idle. This can be used to account for the idle time and track the accuracy of the menu governors idle residency predictions. Change-Id: I37048f05be41590afd0091294002b8f8a42c566c Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com> Reviewed-on: http://git-master/r/407690 GVS: Gerrit_Virtual_Submit
2014-05-14sched: add event for context switch endAlex Van Brunt
Add a trace envent for the end of a context switch. The makes it possible to account for the time spent context switching using the event log. Change-Id: Idc7bcc47cf51d5e2200e2f9380ba0100e1e56884 Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com> Reviewed-on: http://git-master/r/407689 GVS: Gerrit_Virtual_Submit
2014-05-14drivers: irqchip: gic: add IPI trace eventsAlex Van Brunt
Add enter and exit trace events for IPI. This makes it possible to account for hte time in IPI handlers using trace logs. Change-Id: Ied5d840beca6dfe9ad65ed21ebf77333fbd17e00 Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com> Reviewed-on: http://git-master/r/407688 GVS: Gerrit_Virtual_Submit
2014-05-14arm64: mm: add a trace event for page faultsAlex Van Brunt
Create a trace event for the entry and exit of the page fault handler so that it is possible to account for the time in the page fault handler using frace logs. Change-Id: Iff3af99812c5fd18386cca9f0e59cc8238d92be0 Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com> Reviewed-on: http://git-master/r/407687 Reviewed-by: Riham Haidar <rhaidar@nvidia.com> Tested-by: Riham Haidar <rhaidar@nvidia.com>
2014-04-11video: tegra: host: podgov: Add dev to trace eventsArto Merilainen
The trace events currently hold only the scaling statistics but they do not tell which device was involved. Origianlly this was ok as the policy was used only by the gpu, however, we use currently the policy for scaling also vic. Change-Id: I032ecb6bb6306f078d3525475284b67c69d6bac2 Signed-off-by: Arto Merilainen <amerilainen@nvidia.com>
2014-04-04dmadebug: fix incorrect way of device name printKrishna Reddy
Print phys address of page instead of page address. Replace addr with iova, which is easy to understand. Change-Id: Ifd2d57f4425338db4a40f385ba3d365383d1b488 Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/391943 Reviewed-by: Sri Krishna Chowdary <schowdary@nvidia.com> GVS: Gerrit_Virtual_Submit
2014-03-31tracing: Fix array size mismatch in format stringVaibhav Nagarnaik
commit 87291347c49dc40aa339f587b209618201c2e527 upstream. In event format strings, the array size is reported in two locations. One in array subscript and then via the "size:" attribute. The values reported there have a mismatch. For e.g., in sched:sched_switch the prev_comm and next_comm character arrays have subscript values as [32] where as the actual field size is 16. name: sched_switch ID: 301 format: field:unsigned short common_type; offset:0; size:2; signed:0; field:unsigned char common_flags; offset:2; size:1; signed:0; field:unsigned char common_preempt_count; offset:3; size:1;signed:0; field:int common_pid; offset:4; size:4; signed:1; field:char prev_comm[32]; offset:8; size:16; signed:1; field:pid_t prev_pid; offset:24; size:4; signed:1; field:int prev_prio; offset:28; size:4; signed:1; field:long prev_state; offset:32; size:8; signed:1; field:char next_comm[32]; offset:40; size:16; signed:1; field:pid_t next_pid; offset:56; size:4; signed:1; field:int next_prio; offset:60; size:4; signed:1; After bisection, the following commit was blamed: 92edca0 tracing: Use direct field, type and system names This commit removes the duplication of strings for field->name and field->type assuming that all the strings passed in __trace_define_field() are immutable. This is not true for arrays, where the type string is created in event_storage variable and field->type for all array fields points to event_storage. Use __stringify() to create a string constant for the type string. Also, get rid of event_storage and event_storage_mutex that are not needed anymore. also, an added benefit is that this reduces the overhead of events a bit more: text data bss dec hex filename 8424787 2036472 1302528 11763787 b3804b vmlinux 8420814 2036408 1302528 11759750 b37086 vmlinux.patched Link: http://lkml.kernel.org/r/1392349908-29685-1-git-send-email-vnagarnaik@google.com Cc: Laurent Chavey <chavey@google.com> Signed-off-by: Vaibhav Nagarnaik <vnagarnaik@google.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-03-24video: tegra: nvmap: avoid exposing private struct's to clientsKrishna Reddy
avoid exposing nvmap private structs to clients. remove unnecessary export symbol's. remove unnecessary config protection in nvmap_priv.h. Change-Id: I7f4195a6156c8521e65194f8492c92fba972d7c9 Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/385717 Reviewed-by: Alex Waterman <alexw@nvidia.com> GVS: Gerrit_Virtual_Submit
2014-03-06video: tegra: nvmap: update nvmap_alloc_handle trace eventKrishna Reddy
Add alloc info to nvmap_alloc_handle trace event. This allows tracing allocs once nvmap stats are enabled. Change-Id: Id16d2fb19ac3ec5d6af7571080bd91af0a7d2888 Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/377457
2014-03-05video: tegra: nvmap: Move refs array to nvmap_handleDan Willemsen
Instead of using unsigned longs to store kernel pointers, use the proper 'struct nvmap_handle *' reference. Change-Id: I5e378f60a60cefc103e5335a82ed22f43eed9efb Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com> Reviewed-on: http://git-master/r/377229 Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
2014-03-05video: tegra: nvmap: __nvmap_validate_locked takes a nvmap_handleDan Willemsen
__nvmap_validate_id_locked verifies it's second argument against 'struct nvmap_handle' pointers. Enforce the caller passes in a 'struct nvmap_handle *', and rename the function to __nvmap_validate_locked. Also renames nvmap_free_handle_id to nvmap_free_handle, since it no longer takes an ID. Change-Id: Ifbb98a446f8e48aa0ed9cdecd690e8f46ad89ab7 Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com> Reviewed-on: http://git-master/r/377225 Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
2014-03-05video: tegra: nvmap: Push nvmap_handle_get casting upDan Willemsen
Move all of the unconditional casts of an unsigned long upwards towards the callers. This more strongly types what these functions are expecting as inputs. This renames: nvmap_alloc_handle_id -> nvmap_alloc_handle nvmap_duplicate_handle_id -> nvmap_duplicate_handle Since they no longer take ids. Change-Id: I0f1a20ffdbe9de9ce28b2f16f8752460cbd85c06 Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com> Reviewed-on: http://git-master/r/377224 Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
2014-03-05video: tegra: host: Abstract gk20a channel synchronizationLauri Peltonen
Move all channel synchronization code to new channel_sync_gk20a.c/h files, and access all synchronization functions through function pointers. This is groundwork for supporting semaphore based channel synchronization. Bug 1434573 Bug 1450122 Change-Id: Ic21709c1ee8cf85d018616787988e7eebb399fbe Signed-off-by: Lauri Peltonen <lpeltonen@nvidia.com> Reviewed-on: http://git-master/r/374841 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
2014-03-05video: tegra: host: gk20a: Add own trace eventsArto Merilainen
This patch modifies gk20a driver to use its own trace events instead of trace events of nvhost. Bug 1468086 Change-Id: I1f40ba957ec7e25904e9f4621346cb7dc256a550 Signed-off-by: Arto Merilainen <amerilainen@nvidia.com> Reviewed-on: http://git-master/r/374289 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com>
2014-03-04video: tegra: nvmap: Fix size-related warningsDan Willemsen
This fixes a number of size warnings on ARM64 builds. Mostly format strings, but a couple of size_t arguments too. Change-Id: Ic07fadd5f4b844e3231219d1933a0a582c412a47 Signed-off-by: Dan Willemsen <dwillemsen@nvidia.com> Reviewed-on: http://git-master/r/377217 Reviewed-by: Krishna Reddy <vdumpa@nvidia.com> GVS: Gerrit_Virtual_Submit
2014-03-03video: tegra: nvmap: add new nvmap trace eventsKrishna Reddy
Add and Update nvmap trace events to print stats info for use case analysis. Fix dma_buf2 events to get dev name at right time. Change-Id: Ib79de255714d2d28317b4a4ab1f73dbce051623f Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/375107
2014-02-16video: tegra: host: Fix a compile warningAntti P Miettinen
Use correct format specifier. Change-Id: I120c79e2b9e7f64e5b64672d05fa5ede69d64cb6 Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com> Reviewed-on: http://git-master/r/367228 Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com> Reviewed-by: Peter Boonstoppel <pboonstoppel@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2014-01-30misc: tegra-throughput: add tracingIlan Aelion
Trace tegra-throughput events to ftrace Bug 1405319 Change-Id: I699774bc6d46a2c270b387afe82a405e95e62b9e Signed-off-by: Ilan Aelion <iaelion@nvidia.com> Reviewed-on: http://git-master/r/336316 Reviewed-by: Arto Merilainen <amerilainen@nvidia.com> Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com> GVS: Gerrit_Virtual_Submit
2014-01-22arm: tegra: Do not call timer if not availableTerje Bergstrom
Change-Id: Ib1a59199ae092ab58598c9d2077d139a1c970aad Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/351024 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2014-01-14hid: hid-input: add trace eventPritesh Raithatha
Bug 1434677 Change-Id: I019e492769495335041a336aef4de94a746efcee Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com> Reviewed-on: http://git-master/r/352284 Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-12-16Merge tag 'v3.10.24' into HEADAjay Nandakumar
This is the 3.10.24 stable release Change-Id: Ibd2734f93d44385ab86867272a1359158635133b
2013-12-11ARM: dma-mapping: Use %pa for {dma,phys}_addr_tHiroshi Doyu
The data size varis depending on LPAE, 32 or 64. Modified to support both without any build warnings. Change-Id: Iacb8cbbffdab9f7148a62315e011c9a3a74d9030 Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com> Reviewed-on: http://git-master/r/339861 Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
2013-12-04tracing: Allow events to have NULL stringsSteven Rostedt (Red Hat)
commit 4e58e54754dc1fec21c3a9e824bc108b05fdf46e upstream. If an TRACE_EVENT() uses __assign_str() or __get_str on a NULL pointer then the following oops will happen: BUG: unable to handle kernel NULL pointer dereference at (null) IP: [<c127a17b>] strlen+0x10/0x1a *pde = 00000000 ^M Oops: 0000 [#1] PREEMPT SMP Modules linked in: CPU: 1 PID: 0 Comm: swapper/1 Not tainted 3.13.0-rc1-test+ #2 Hardware name: /DG965MQ, BIOS MQ96510J.86A.0372.2006.0605.1717 06/05/2006^M task: f5cde9f0 ti: f5e5e000 task.ti: f5e5e000 EIP: 0060:[<c127a17b>] EFLAGS: 00210046 CPU: 1 EIP is at strlen+0x10/0x1a EAX: 00000000 EBX: c2472da8 ECX: ffffffff EDX: c2472da8 ESI: c1c5e5fc EDI: 00000000 EBP: f5e5fe84 ESP: f5e5fe80 DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 CR0: 8005003b CR2: 00000000 CR3: 01f32000 CR4: 000007d0 Stack: f5f18b90 f5e5feb8 c10687a8 0759004f 00000005 00000005 00000005 00200046 00000002 00000000 c1082a93 f56c7e28 c2472da8 c1082a93 f5e5fee4 c106bc61^M 00000000 c1082a93 00000000 00000000 00000001 00200046 00200082 00000000 Call Trace: [<c10687a8>] ftrace_raw_event_lock+0x39/0xc0 [<c1082a93>] ? ktime_get+0x29/0x69 [<c1082a93>] ? ktime_get+0x29/0x69 [<c106bc61>] lock_release+0x57/0x1a5 [<c1082a93>] ? ktime_get+0x29/0x69 [<c10824dd>] read_seqcount_begin.constprop.7+0x4d/0x75 [<c1082a93>] ? ktime_get+0x29/0x69^M [<c1082a93>] ktime_get+0x29/0x69 [<c108a46a>] __tick_nohz_idle_enter+0x1e/0x426 [<c10690e8>] ? lock_release_holdtime.part.19+0x48/0x4d [<c10bc184>] ? time_hardirqs_off+0xe/0x28 [<c1068c82>] ? trace_hardirqs_off_caller+0x3f/0xaf [<c108a8cb>] tick_nohz_idle_enter+0x59/0x62 [<c1079242>] cpu_startup_entry+0x64/0x192 [<c102299c>] start_secondary+0x277/0x27c Code: 90 89 c6 89 d0 88 c4 ac 38 e0 74 09 84 c0 75 f7 be 01 00 00 00 89 f0 48 5e 5d c3 55 89 e5 57 66 66 66 66 90 83 c9 ff 89 c7 31 c0 <f2> ae f7 d1 8d 41 ff 5f 5d c3 55 89 e5 57 66 66 66 66 90 31 ff EIP: [<c127a17b>] strlen+0x10/0x1a SS:ESP 0068:f5e5fe80 CR2: 0000000000000000 ---[ end trace 01bc47bf519ec1b2 ]--- New tracepoints have been added that have allowed for NULL pointers being assigned to strings. To fix this, change the TRACE_EVENT() code to check for NULL and if it is, it will assign "(null)" to it instead (similar to what glibc printf does). Reported-by: Shuah Khan <shuah.kh@samsung.com> Reported-by: Jovi Zhangwei <jovi.zhangwei@gmail.com> Link: http://lkml.kernel.org/r/CAGdX0WFeEuy+DtpsJzyzn0343qEEjLX97+o1VREFkUEhndC+5Q@mail.gmail.com Link: http://lkml.kernel.org/r/528D6972.9010702@samsung.com Fixes: 9cbf117662e2 ("tracing/events: provide string with undefined size support") Signed-off-by: Steven Rostedt <rostedt@goodmis.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-11-22input: touch: synaptics: Add ftrace log supportVincent Chen
Enable Synaptics interrupt handler ftrace logging Bug 1394727 Change-Id: Iac0cb5a4c8c0c6d94a344f99527b34ce23cad469 Signed-off-by: Vincent Chen <zochen@nvidia.com> Reviewed-on: http://git-master/r/305172 (cherry picked from commit 05b43663f563a695e2c2981fb673f932b9796398) Reviewed-on: http://git-master/r/330899 Reviewed-by: Robert Collins <rcollins@nvidia.com> Reviewed-by: Jon Mayo <jmayo@nvidia.com>
2013-11-21ARM: tegra: add cluster to tracesAntti P Miettinen
Log start and target cluster in cluster switch event traces. Change-Id: I5b83139809cb8e4928033ade87c14321e7ce2aad Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com> Reviewed-on: http://git-master/r/332498 Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2013-11-13video: tegra: Fix pin/unpin tracingAlex Waterman
When the pin/unpin code in nvmap was rewritten the tracing for the pin and unpin ops was lost. This readds that tracing support. Bug 1390636 Change-Id: I70cfdb750b4992464f5961619986b96c6334e142 Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: http://git-master/r/329893 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
2013-11-13video: tegra: Add tracing for dmabufAlex Waterman
Add trace points to the dmabuf implementation in nvmap. Bug 1390636 Change-Id: Iba066053025126f759cfffa71acd604419c87b4b Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: http://git-master/r/329879 Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
2013-11-01EDP: add event tracing for dynamic cappingTimo Alho
Change-Id: I7f28e373b2f96d84af98ac64d4d36c83ad18d4a6 Signed-off-by: Timo Alho <talho@nvidia.com> Reviewed-on: http://git-master/r/309701 Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2013-10-28EDP: introduce revised system-EDP frameworkTimo Alho
This patch introduces a revised system-EDP software framework. Framework consist of following components: * sysedp - central component handling of the book keeping of consumer power consumptions * sysedp_batmon - periodically monitors the state of battery and updates the available budget (in mW) to sysedp framework * sysedp_dynamic_capping - limits the CPU, GPU, and EMC frequencies to ensure that system will operate in the given budget. * sysedp_consumer - A device in the platform that has noticeable peak power consumption is called sysedp consumer. Consumers register themselves to the sysedp framework and inform sysedp when there is a change in their power state Change-Id: I343d8f09082216744da41abe5e749b15cb20417a Signed-off-by: Timo Alho <talho@nvidia.com> Reviewed-on: http://git-master/r/304006 GVS: Gerrit_Virtual_Submit Reviewed-by: Sivaram Nair <sivaramn@nvidia.com> Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2013-10-21video: tegra: host: Fix compile warningsTerje Bergstrom
Some "unsigned long"s were converted to u32. for_each_set_bit() requires unsigned long, so convert some instanced back. Fix how include files are included. Forward declare nvhost_set_error_notifier. Fix parameter to nvhost_memmgr_put() to be handle and not id. Fix tracing to use %llx and casting to u64 to print dma_addr_t. Change-Id: I8ab3c3f2012c2efdb519b17027dbaf20715e81f2 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/301743 Reviewed-by: Arto Merilainen <amerilainen@nvidia.com>
2013-10-15input: touch: maxim_sti: Update to version 1.4.1, v28Andy Chiang
Fast-forward code from the first maxim code drop. Bug 1364399 Change-Id: I01f1078b6c4942cd3e5102c0c33d823b54bb56e8 Signed-off-by: Andy Chiang <achiang@nvidia.com> Signed-off-by: Hayden Du <haydend@nvidia.com> Reviewed-on: http://git-master/r/289390 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Kerwin Wan <kerwinw@nvidia.com> Reviewed-by: Sachin Nikam <snikam@nvidia.com> Reviewed-by: Robert Collins <rcollins@nvidia.com>
2013-09-27ARM: dma-mapping: Undefined debug_dma_platformdataHiroshi Doyu
Fix undefined reference to debug_dma_platformdata Bug 1373902 Change-Id: I77544b64f84e8e43a9bfb873f6b2af375d341f0d Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com> Reviewed-on: http://git-master/r/278134 Reviewed-by: Krishna Reddy <vdumpa@nvidia.com> GVS: Gerrit_Virtual_Submit
2013-09-27dma-debug: Use ftrace in {map,unmap}_*() callsKonsta Holtta
Log the map/unmap/alloc/free calls. This ftrace is enabled by default. Bug 1173494 Change-Id: I01fe24e570346413644368a6bff1578814f05f5a Signed-off-by: Konsta Holtta <kholtta@nvidia.com> Signed-off-by: Hiroshi Doyu <hdoyu@nvidia.com> Reviewed-on: http://git-master/r/268383 GVS: Gerrit_Virtual_Submit Reviewed-by: Krishna Reddy <vdumpa@nvidia.com>
2013-09-14tracing: remove clock lock/unlock event.Jiejing Zhang
This patch is removed clock lock/unlock event. For those reasons: 1. events are *too* much, because clock tree, one lock operation will invoke too much clock_lock & clock_unlock event. compare these two traces: trace-cmd record -e regulator -e power 16000 -s 1000000 sleep 10 3162112 byte trace-cmd record -e regulator -e power -v -e "clock_*lock" -b 16000 -s 1000000 sleep 10 585726 byte The trace size was 1/6 between with lock & without lock events. 2. the debug function of adding this event is not clear. Change-Id: I6e8d93487c8cc472990fd6a21d7e1f4c63e24556 Signed-off-by: Jiejing Zhang <jiejzhang@nvidia.com> Signed-off-by: Eric Miao <emiao@nvidia.com> Reviewed-on: http://git-master/r/269324 GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-14video: tegra: host: Reimplement nvmap_pin in nvhostTerje Bergstrom
Reimplement mapping buffer to device memory in nvhost. This allows separating memory areas of devices from each other. Adds also dma parameters for each host1x device. Bug 1259839 Bug 1174439 Change-Id: I0029756d84c455faacbbe27791e0e8f1190352ee Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/251931 Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com> Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>
2013-09-14video: tegra: host: add ftrace events for nvhost_asKen Adams
First cut at ftrace visibility for nvhost_as* ioctls. Also brought in gk20a mmu fault info. In that area just renamed some things to make them consistent (r->v). Change-Id: I5edad070be32ad7d38270fa49368fb41a342ae59 Signed-off-by: Ken Adams <kadams@nvidia.com> Reviewed-on: http://git-master/r/245954 Reviewed-by: Kevin Huang (Eng-SW) <kevinh@nvidia.com>
2013-09-14video: tegra: host: Add gpfifo tracingTerje Bergstrom
Add gpfifo tracing. This needs decoding of the gpfifo, so adds also PBDMA entry constants to hardware headers, and takes them into use. Also changes submit event to be called before sending to hw, and a new submitted event that indicates we've written submit. Change-Id: I546a2ba770fe803795f660a2ff7aabc506f2004c Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/241894 Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com> Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-14video: tegra: add gpfifo submit trace eventKen Adams
Adds a gpfifo submit trace event. Bug 1244355 Change-Id: I3d5b2651f549654cd151acb350654b594cdc878f Signed-off-by: Ken Adams <kadams@nvidia.com> Reviewed-on: http://git-master/r/218742
2013-09-14isomgr: optimize the reserve/realize callsKrishna Reddy
optimize the reserver/realize calls if there is no change in bw requested. update the trace message for set_margin API. Change-Id: Ic271c0fc02b5c058b4837bfee55ae875123d073e Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/231701 Reviewed-by: Alex Waterman <alexw@nvidia.com> Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
2013-09-14arm: tegra: add trace events for soc idle statePrashant Gaikwad
Add new trace events to measure latencies for MC clock stop idle state. Bug 1010971 Change-Id: I401d39a776e4695c88d79d039a5c8eaefe6c4914 Signed-off-by: Prashant Gaikwad <pgaikwad@nvidia.com> Reviewed-on: http://git-master/r/221010 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
2013-09-14video: tegra: nvmap: rename nvmap.h to nvmap_priv.hKrishna Reddy
rename private nvmap.h to nvmap_priv.h remove dependency on nvmap_priv.h from trace nvmap.h Change-Id: I8dc363ec66a09d84f5e32c22228cca23a44e6c66 Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/232251 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
2013-09-14arm: tegra: isomgr: pass availble bw during renegotiate callKrishna Reddy
Add trace messages for scavenge and scatter calls. Update dc code to use updated prototype for callback. Change-Id: Ib35747fb04a02473f40faf0a443f76551ac9e200 Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/227224 Reviewed-by: Mrutyunjay Sawant <msawant@nvidia.com> Tested-by: Mrutyunjay Sawant <msawant@nvidia.com>
2013-09-14trace: events: isomgr: add trace event for isomgrKrishna Reddy
Change-Id: I18bd72510b84f0d5c2aef6900ada7b588c67d292 Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
2013-09-14ARM: Tegra: clock: Clock set latency tracingAntti P Miettinen
Add traces for clock set latency measurements. Change-Id: I5bdd00145f32da59ed294c8414d44fba8f3a81ca Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com> Reviewed-on: http://git-master/r/219386 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Juha Tukkinen <jtukkinen@nvidia.com>
2013-09-14thermal: fix warning in add thermal events tracingDiwakar Tundlam
Bug 1050412 Change-Id: I1080767ac2711f52aad82e09c0af5a27cf972425 Signed-off-by: Diwakar Tundlam <dtundlam@nvidia.com> Reviewed-on: http://git-master/r/218664 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Timo Alho <talho@nvidia.com> Tested-by: Timo Alho <talho@nvidia.com>
2013-09-14iovmm: remove obsolete iovmm trace fileKrishna Reddy
Change-Id: I98a4280efb8b8bd637c85d1ebb22fb9ce12804ed Signed-off-by: Krishna Reddy <vdumpa@nvidia.com> Reviewed-on: http://git-master/r/213715 Reviewed-by: Alex Waterman <alexw@nvidia.com>
2013-09-14video: tegra: dc: request bandwidth from isomgrJon Mayo
Report event TEGRA_DC_EXT_EVENT_BANDWIDTH through tegra_dc_ctrl device when there is not enough bandwidth. Bug 1169265 Change-Id: Ia95b1ecc7eb16db6f3a709e7c9efc59ab2490ead Signed-off-by: Jon Mayo <jmayo@nvidia.com> Reviewed-on: http://git-master/r/207766 Reviewed-by: Automatic_Commit_Validation_User