Commit graph

3 commits

Author SHA1 Message Date
Steven Cahail
d3bc56a0d1 trace: ipc_logging: Destroy debugfs directories with logging contexts
IPC Logging currently creates debugfs directories for each of its
logging contexts, but does not remove them when destroying the contexts.
If a user attempts to access a directory associated with a destroyed
context, a crash will result.

Destroy debugfs directories when the logging context is destroyed.

Change-Id: I5a3b1cbf2fb5d9d0ede3d9da0fccd605b9fdf619
Signed-off-by: Steven Cahail <scahail@codeaurora.org>
2016-03-23 21:15:04 -07:00
Karthikeyan Ramasubramanian
e9deb36997 trace: ipc_logging: Use virtual counter
Using the physical counter leads to a kernel BUG_ON(). Update the
IPC Logging Driver to use virtual counter.

Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
2016-03-22 11:07:57 -07:00
Karthikeyan Ramasubramanian
42e7b9ac7c trace: Add snapshot of ipc_logging driver
This snapshot is taken as of msm-3.18 commit e70ad0cd (Promotion of
kernel.lnx.3.18-151201.)

Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
2016-03-22 11:07:56 -07:00