Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9250c4ca authored by Deepak Katragadda's avatar Deepak Katragadda
Browse files

qcom: sysmon: Replace sending strings as parameters to sysmon APIs



Currently, all the sysmon APIs use string names to derive the
information about subsystems that the events should be sent to.
To do so, a list of subsystems that support sysmon are stored
in a static array. This approach makes sysmon break when the
name of a subsystem changes or when new subsystems are added.

Instead, store the sysmon pdev id information that is read
from the subsystem's dt nodes in the subsys descriptor. These
descriptors are then passed as parameters to the sysmon APIs.

Change-Id: I0c0b68412acb4913e823586931a7fd0b8f03f15b
Signed-off-by: default avatarDeepak Katragadda <dkatraga@codeaurora.org>
parent 1ec33670
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment