perfquery.c: Fix dumping of PortSamplesControl
PATCH 1/1 perfquery.c: Fix dumping of PortSamplesControl
was stopping after CounterSelect10 field as insufficient buffer size for dumping this attribute.
---
src/perfquery.c +1 -1
@@ -566,7 +566,7 @@ static void vlxmittimecc_query(ib_portid_t * portid, int port, int mask) void dump_portsamples_control(ib_portid_t * portid, int port) { - char buf[1024]; + char buf[1280]; memset(pc, 0, sizeof(pc)); if (!pma_query_via(pc, portid, port, ibd_timeout,
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 51FAA4BA.7080800-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org
Ira Weiny
AppliedQuoted 5 lines · On Thu, 1 Aug 2013 14:11:06 -0400 Hal Rosenstock…
was stopping after CounterSelect10 field as insufficient buffer size for dumping this attribute.
Thanks, applied,
Ira
Quoted 18 lines
---
src/perfquery.c +1
-2@@ -566,7 +566,7 @@ static void vlxmittimecc_query(ib_portid_t * portid, int port, int mask) void dump_portsamples_control(ib_portid_t * portid, int port) { - char buf[1024]; + char buf[1280]; memset(pc, 0, sizeof(pc)); if (!pma_query_via(pc, portid, port, ibd_timeout, --To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 5 lines
Ira Weiny <[email protected]> -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html