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

Commit 6139a3e1 authored by Khaja Hussain Shaik Khaji's avatar Khaja Hussain Shaik Khaji
Browse files

net: qrtr: use new update_marker api



Boot KPI driver has a limitation to print a maximum of 73 KPI node
entries due to sysfs implementation limitation. To fix this issue
replace place_marker calls with update_marker in the required drivers.
Unlike place_maker API update_marker API will first remove the marker
and add it again. So, the marker comes at end of the table when we
cat /sys/kernel/bootkpi/kpi_values.

Change-Id: I3137e6909c17a3e8f3237c0bc4df62ee628d8e7e
Signed-off-by: default avatarKhaja Hussain Shaik Khaji <quic_kshaikkh@quicinc.com>
parent e3e31ae3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -268,7 +268,7 @@ static void qrtr_log_tx_msg(struct qrtr_node *node, struct qrtr_hdr_v1 *hdr,
				  type, hdr->src_node_id);
			if (le32_to_cpu(hdr->dst_node_id) == 0 ||
			    le32_to_cpu(hdr->dst_node_id) == 3) {
				place_marker("M - Modem QMI Readiness TX");
				update_marker("M - Modem QMI Readiness TX");
				pr_err("qrtr: Modem QMI Readiness TX cmd:0x%x node[0x%x]\n",
				       type, hdr->src_node_id);
			}
@@ -340,7 +340,7 @@ static void qrtr_log_rx_msg(struct qrtr_node *node, struct sk_buff *skb)
				  "RX CTRL: cmd:0x%x node[0x%x]\n",
				  cb->type, cb->src_node);
			if (cb->src_node == 0 || cb->src_node == 3) {
				place_marker("M - Modem QMI Readiness RX");
				update_marker("M - Modem QMI Readiness RX");
				pr_err("qrtr: Modem QMI Readiness RX cmd:0x%x node[0x%x]\n",
				       cb->type, cb->src_node);
			}