Commit Graph

3 Commits

Author SHA1 Message Date
Dhoat Harpal
f76b236cba soc: qcom: ipc_logging: Add enable/disable feature for IPC log
This feature allow enabling/disabling IPC logs through debugfs
on per client basis. Also, it provides feature for enabling/disabling
IPC logs for all the clients.

CRs-Fixed: 2212818
Change-Id: Iab8e25f329afe92d5ee55ddd3631941f95683f55
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
2018-03-29 16:13:51 +05:30
Lynus Vaz
802d738a5e trace: ipc_logging: Release the debugfs SRCU when reading
Global debugfs SRCU lock is acquired while reading log_cont file
and not released until read operation is killed which blocks all
other clients adding and removing debugfs nodes.

Avoid using debugfs global SRCU lock during read operation by using
"debugfs_create_file_unsafe".

CRs-Fixed: 2066241
Change-Id: Ie471ca8f65123f1fd6db80d2006843d1a2250984
Signed-off-by: Arun Kumar Neelakantam <aneela@codeaurora.org>
2017-07-14 12:33:54 +05:30
Karthikeyan Ramasubramanian
44dc770f0f trace: Add snapshot of ipc_logging driver
This snapshot is taken as of msm-4.4 'commit <d2afad6a903b>
("Merge "ext4 crypto: enable HW based encryption with ICE"")'.

In addition fix the coding style issues, replace BUG_ON with WARN_ON.

CRs-Fixed: 1079350
Change-Id: I16d5f433502263156bcbe11bffd8450a1ceaafb1
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
2016-11-10 10:49:25 -08:00