Commit 4f96771b authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 1353f54a
......@@ -29,7 +29,7 @@ import (
// + check consistency (e.g. by hash in neo.trace and here must be the same)
//go:linkname neo_traceConnRecv_Attach _/home/kirr/src/wendelin/neo/neoppod-t/go/neo.traceConnRecv_Attach
func neo_traceConnRecv_Attach(*tracing.Group, func(*neo.Conn, neo.Msg)) *tracing.Probe
func neo_traceConnRecv_Attach(*tracing.ProbeGroup, func(*neo.Conn, neo.Msg)) *tracing.Probe
//go:linkname neo_traceConnSend_Attach _/home/kirr/src/wendelin/neo/neoppod-t/go/neo.traceConnSend_Attach
func neo_traceConnSend_Attach(*tracing.Group, func(*neo.Conn, neo.Msg)) *tracing.Probe
func neo_traceConnSend_Attach(*tracing.ProbeGroup, func(*neo.Conn, neo.Msg)) *tracing.Probe
......@@ -76,8 +76,8 @@ func _traceConnSend_runprobev(c *Conn, msg Msg) {
}
}
func traceConnSend_Attach(tg *tracing.Group, probe func(*Conn, Msg)) *tracing.Probe {
func traceConnSend_Attach(pg *tracing.ProbeGroup, probe func(*Conn, Msg)) *tracing.Probe {
p := _t_traceConnSend{probefunc: probe}
tracing.AttachProbe(tg, (**tracing.Probe)(unsafe.Pointer(&_traceConnSend)), &p.Probe)
tracing.AttachProbe(pg, (**tracing.Probe)(unsafe.Pointer(&_traceConnSend)), &p.Probe)
return &p.Probe
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment