Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neoppod
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
neoppod
Commits
4f96771b
Commit
4f96771b
authored
Jun 19, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
1353f54a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
go/neo/server/trace.go
go/neo/server/trace.go
+2
-2
go/neo/trace.go
go/neo/trace.go
+2
-2
No files found.
go/neo/server/trace.go
View file @
4f96771b
...
...
@@ -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
.
Probe
Group
,
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
.
Probe
Group
,
func
(
*
neo
.
Conn
,
neo
.
Msg
))
*
tracing
.
Probe
go/neo/trace.go
View file @
4f96771b
...
...
@@ -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
.
Probe
Group
,
probe
func
(
*
Conn
,
Msg
))
*
tracing
.
Probe
{
p
:=
_t_traceConnSend
{
probefunc
:
probe
}
tracing
.
AttachProbe
(
t
g
,
(
**
tracing
.
Probe
)(
unsafe
.
Pointer
(
&
_traceConnSend
)),
&
p
.
Probe
)
tracing
.
AttachProbe
(
p
g
,
(
**
tracing
.
Probe
)(
unsafe
.
Pointer
(
&
_traceConnSend
)),
&
p
.
Probe
)
return
&
p
.
Probe
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment