-
Notifications
You must be signed in to change notification settings - Fork 339
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
yangjing
committed
Jan 4, 2021
1 parent
5cdbf44
commit dc3ece2
Showing
20 changed files
with
23 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
recorder/internal/tag_with_recorder.go → recorder/koala/hook/tag_with_recorder.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// +build recorder | ||
|
||
package internal | ||
package hook | ||
|
||
import ( | ||
"net" | ||
|
2 changes: 1 addition & 1 deletion
2
recorder/internal/tag_without_recorder.go → recorder/koala/hook/tag_without_recorder.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
// +build !recorder | ||
|
||
package internal | ||
package hook | ||
|
||
import ( | ||
"net" | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
package recorder | ||
|
||
import ( | ||
"github.com/didi/sharingan/recorder/internal" | ||
"github.com/didi/sharingan/recorder/koala/hook" | ||
) | ||
|
||
// GetCurrentGoRoutineID get current goRoutineID incase with delegatedID | ||
func GetCurrentGoRoutineID() int64 { | ||
return internal.GetCurrentGoRoutineID() | ||
return hook.GetCurrentGoRoutineID() | ||
} | ||
|
||
// SetDelegatedFromGoRoutineID set goRoutine delegatedID | ||
func SetDelegatedFromGoRoutineID(gID int64) { | ||
internal.SetDelegatedFromGoRoutineID(gID) | ||
hook.SetDelegatedFromGoRoutineID(gID) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters