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

Commit bcf58015 authored by Odelu Kukatla's avatar Odelu Kukatla
Browse files

soc: qcom: msm_bus: Add debug logging for BCM client votes



Client votes for each BCM device are required to be logged,
so add a new ftrace event to log the same.

Change-Id: I5a7585c8252a5285219471af07bf6fe9486a22ef
Signed-off-by: default avatarOdelu Kukatla <okukatla@codeaurora.org>
parent b448c746
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -9,12 +9,12 @@ ifdef CONFIG_QCOM_BUS_CONFIG_RPMH
	obj-y += msm_bus_fabric_rpmh.o msm_bus_arb_rpmh.o msm_bus_rules.o \
		msm_bus_bimc_rpmh.o msm_bus_noc_rpmh.o msm_bus_proxy_client.o
	obj-$(CONFIG_OF) += msm_bus_of_rpmh.o
	obj-$(CONFIG_DEBUG_FS) += msm_bus_dbg_rpmh.o
else
	obj-y += msm_bus_fabric_adhoc.o msm_bus_arb_adhoc.o msm_bus_rules.o \
		msm_bus_bimc_adhoc.o msm_bus_noc_adhoc.o msm_bus_qnoc_adhoc.o
	obj-$(CONFIG_OF) += msm_bus_of_adhoc.o
	obj-$(CONFIG_DEBUG_FS) += msm_bus_dbg.o
endif

obj-$(CONFIG_DEBUG_BUS_VOTER) += msm_bus_dbg_voter.o

obj-$(CONFIG_DEBUG_FS) += msm_bus_dbg.o
+13 −0
Original line number Diff line number Diff line
@@ -337,6 +337,8 @@ int msm_bus_dbg_add_client(const struct msm_bus_client_handle *pdata);
int msm_bus_dbg_rec_transaction(const struct msm_bus_client_handle *pdata,
						u64 ab, u64 ib);
void msm_bus_dbg_remove_client(const struct msm_bus_client_handle *pdata);
int msm_bus_dbg_add_bcm(struct msm_bus_node_device_type *cur_bcm);
void msm_bus_dbg_remove_bcm(struct msm_bus_node_device_type *cur_bcm);

#else
static inline void msm_bus_dbg_client_data(struct msm_bus_scale_pdata *pdata,
@@ -365,6 +367,17 @@ msm_bus_dbg_add_client(const struct msm_bus_client_handle *pdata)
{
	return 0;
}

static inline int
msm_bus_dbg_add_bcm(struct msm_bus_node_device_type *cur_bcm)
{
	return 0;
}

static inline void
msm_bus_dbg_remove_bcm(struct msm_bus_node_device_type *cur_bcm)
{
}
#endif

#ifdef CONFIG_CORESIGHT
Loading