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

Commit 7927f818 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

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

parents 45fa4e19 9f9a1d4b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -10,10 +10,10 @@ 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
endif

	obj-$(CONFIG_DEBUG_FS) += msm_bus_dbg.o
endif
+13 −0
Original line number Diff line number Diff line
@@ -330,6 +330,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,
@@ -358,6 +360,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