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
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Levin Zimmermann
neoppod
Commits
69174210
Commit
69174210
authored
Jul 04, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
a4a4c832
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
go/xcommon/tracing/cmd/gotrace/gotrace_test.go
go/xcommon/tracing/cmd/gotrace/gotrace_test.go
+1
-1
go/xcommon/tracing/cmd/gotrace/testdata/src/a/pkg1/pkg1c.go
go/xcommon/tracing/cmd/gotrace/testdata/src/a/pkg1/pkg1c.go
+3
-1
No files found.
go/xcommon/tracing/cmd/gotrace/gotrace_test.go
View file @
69174210
...
@@ -138,7 +138,7 @@ func TestGoTraceGen(t *testing.T) {
...
@@ -138,7 +138,7 @@ func TestGoTraceGen(t *testing.T) {
// XXX autodetect (go list ?)
// XXX autodetect (go list ?)
//testv := []string{"a/pkg1", "b/pkg2", "c/pkg3", "d/pkg4"}
//testv := []string{"a/pkg1", "b/pkg2", "c/pkg3", "d/pkg4"}
testv
:=
[]
string
{
"
a/pkg1
"
}
testv
:=
[]
string
{
"
b/pkg2
"
}
for
_
,
tpkg
:=
range
testv
{
for
_
,
tpkg
:=
range
testv
{
err
=
tracegen
(
tpkg
,
tBuildCtx
,
""
/* = local imorts disabled */
)
err
=
tracegen
(
tpkg
,
tBuildCtx
,
""
/* = local imorts disabled */
)
...
...
go/xcommon/tracing/cmd/gotrace/testdata/src/a/pkg1/pkg1c.go
View file @
69174210
...
@@ -9,7 +9,9 @@ void hello() {
...
@@ -9,7 +9,9 @@ void hello() {
*/
*/
import
"C"
import
"C"
// FIXME vvv does not currently work
// FIXME vvv does not currently work because go/loader gives us already
// preprocessed result without original comments.
//
// trace event defined in a cgo file
// trace event defined in a cgo file
//trace:event traceHello()
//trace:event traceHello()
...
...
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