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
b224b4f6
Commit
b224b4f6
authored
Jul 05, 2017
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
f7aac8bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
go/xcommon/tracing/tracing.go
go/xcommon/tracing/tracing.go
+9
-5
No files found.
go/xcommon/tracing/tracing.go
View file @
b224b4f6
...
@@ -96,25 +96,29 @@ Probes is general mechanism which allows various kinds of trace events usage.
...
@@ -96,25 +96,29 @@ Probes is general mechanism which allows various kinds of trace events usage.
Three ways particularly are well-established and handy:
Three ways particularly are well-established and handy:
- profiling
- profiling
- non-blocking tracing
- non-blocking tracing
(asynchronously (?) recording event stream)
- synchronous tracing
- synchronous tracing
Profiling
Profiling
A
Profile is
a collection of stack traces showing the call sequences that led
A
profile is (TODO aggregate summary of)
a collection of stack traces showing the call sequences that led
to instances of a particular event. One could create runtime/pprof.Profile and
to instances of a particular event. One could create runtime/pprof.Profile and
use Profile.Add in a probe attached to particular
event. The profile can be
use Profile.Add in a probe attached to particular
trace event. The profile can
later analyzed and visualised with go pprof tool.
be
later analyzed and visualised with go pprof tool.
Please see runtime/pprof package documentation for details.
Please refer to runtime/pprof package documentation for details.
XXX Profile.Add needs unique value for each invocation - how do we do?
XXX BUG not working?
XXX BUG not working?
BUG(kirr): should tracing provide more tight integration with runtime/pprof.Profile?
BUG(kirr): should tracing provide more tight integration with runtime/pprof.Profile?
Non-blocking tracing XXX name
Non-blocking tracing XXX name
TODO
TODO
Synchronous tracing
Synchronous tracing
TODO
TODO
...
...
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