summaryrefslogtreecommitdiff
path: root/kernel/trace/msm_rtb.c (follow)
Commit message (Collapse)AuthorAge
* soc: qcom: Add Minidump supportLingutla Chandrasekhar2017-04-20
| | | | | | | | | | | | | | | | | | | | Add Minidump support for clients to get minimum required data at the time of system crash. The Minidump table resides in SMEM, BOOT(SBL) will iterate the table entries and dumps out (to USB/Flash) the data in address location. Any client can register to this table with static or known addresses, as currently Minidump doesn't support dumping of dynamic data structures. To simplify post processing, we create an ELF header, where each entry in the minidump table is a section in elf header. If Memory dump table enabled, Dump all data entries registered with MDT. Enable Minidump: echo mini > /sys/kernel/dload/dload_mode Change-Id: I0fc8d21aef71ded34a498426ee3d7f86b063a639 Signed-off-by: Lingutla Chandrasekhar <clingutla@codeaurora.org>
* msm: rtb: record counter timestamp for every log recordSrinivas Ramana2016-12-21
| | | | | | | | | Record counter timestamp in every RTB log record to help correlate these events with other subsystem events which occur outside of cpu subsystem. Change-Id: Ib1291524c53c4ec757a494a1e08cb0925720e1a6 Signed-off-by: Srinivas Ramana <sramana@codeaurora.org>
* trace: rtb: disable RTB in the first panic notifierSe Wang (Patrick) Oh2016-03-01
| | | | | | | | | | | | As the priority of RTB panic notifier was zero, it was not guaranteed to disable RTB right after kernel panic. So RTB log buffer could be flooded with some I/O operations after panic. By setting the priority of RTB panic notifier to the highest value, make sure RTB is disabled right after a kernel panic. Change-Id: If9efc2ec31efa6aa17e92b2b01e81ab4df6d1730 Signed-off-by: Se Wang (Patrick) Oh <sewango@codeaurora.org>
* msm: rtb: Add timestamp to rtb loggingVignesh Radhakrishnan2016-03-01
| | | | | | | | | | | | | RTB logging currently doesn't log the time at which the logging was done. This can be useful to compare with dmesg during debug. The bytes for timestamp are taken by reducing the sentinel array size to three from eleven thus giving the extra 8 bytes to store time. This maintains the size of the layout at 32. Change-Id: Ifc7e4d2e89ed14d2a97467891ebefa9515983630 Signed-off-by: Vignesh Radhakrishnan <vigneshr@codeaurora.org>
* trace: rtb: add msm_rtb register tracing feature snapshotMatt Wagantall2016-03-01
This snapshot is taken as of msm-3.10 commit: 78c36fa0ef (Merge "msm: mdss: Prevent backlight update during continuous splash") RTB support captures system events such as register writes to a small uncached region. This is designed to aid in debugging, where it may be useful to know the last events that occurred prior to a device reset. Change-Id: Idc51e618380f58a6803f40c47f2b3d29033b3196 Signed-off-by: Matt Wagantall <mattw@codeaurora.org> [spjoshi@codeaurora.org: fix merge conflict] Signed-off-by: Sarangdhar Joshi <spjoshi@codeaurora.org>