Cezar Sá Espinola
ad978d77e6
agent: avoid truncating stacktrace if it's bigger than 64kb ( #29 )
...
Using pprof.Lookup("goroutine") instead of runtime.Stack directly
because the former already takes care of expanding the buffer used with
runtime.Stack until it's big enough for the stack.
2017-01-13 12:27:22 -08:00
Jaana Burcu Dogan
0e47ba961c
rename vitals to stats
2017-01-03 01:15:13 -08:00
Jaana Burcu Dogan
664fdf9107
agent: use shorthand to write the heap profile
2017-01-03 01:06:27 -08:00
Jaana Burcu Dogan
b95fa4807e
handle error if CPU profile cannot start
2017-01-03 00:56:44 -08:00
Jaana Burcu Dogan
3f697a7e37
avoid unnecessary cast to string
2017-01-03 00:56:20 -08:00
Jaana Burcu Dogan
6379e59497
Remove the -p flag.
...
Fixes #25 .
2017-01-01 19:54:15 -08:00
Jaana Burcu Dogan
4698eb04b6
agent: fix race between Close and listener assert
2016-12-20 12:56:40 -08:00
Jaana Burcu Dogan
108d4a8a8e
agent: stat portfile only if filename exists
2016-12-20 12:48:15 -08:00
Jaana Burcu Dogan
62d2faba6c
fix README example
2016-12-20 12:27:39 -08:00
Jaana Burcu Dogan
7973d7aa4f
agent: simplify options, allow only one listener
2016-12-20 12:23:05 -08:00
Cezar Sa Espinola
184268cd08
examples: update agent interface in example
2016-12-15 23:15:39 -02:00
Cezar Sa Espinola
707d15f9b7
agent: basic tests for starting and stopping the agent
2016-12-15 23:13:44 -02:00
Cezar Sa Espinola
ca8282f029
agent: allow starting the agent without installing a signal handler
...
If the application the agent is being installed on also need to run some
shutdown code during an Interrupt signal, it's important to have the
ability to prevent gops agent from calling os.Exit(). This also adds the
requirement of exposing a method to manually cleanup garbage left by the
gops agent.
To allow custom agent flags now and in the future an Agent type was
created with a public boolean field HandleSignals.
2016-12-15 23:08:52 -02:00
ferhat elmas
6302d55aaa
Some drying in cmd calls ( #20 )
2016-11-28 10:45:02 -08:00
Jaana Burcu Dogan
3fdcb5ef7d
add context to the error
2016-11-26 18:43:04 -08:00
Jaana Burcu Dogan
397849b2e1
remove obsolete TODO
2016-11-26 18:38:59 -08:00
kakilangit
edc722bd55
fix typo in README and usage ( #18 )
2016-11-20 13:16:04 -08:00
Alejandro Ramon Lopez del Huerto
282d5a56fb
doc: improve README and update usage ( #17 )
2016-11-16 12:38:16 -08:00
Kean Pedersen
4480e70e5d
agent: corrected spelling error on godoc
2016-11-15 10:37:56 -08:00
Jialin Wu
7a6fc281fb
agent: fix time ago issue ( #14 )
2016-11-15 09:59:59 -08:00
Jaana Burcu Dogan
c0c78ac94f
move config to internal
2016-11-14 23:07:31 -08:00
Alejandro Ramon Lopez del Huerto
982467e9e3
replace unix socket by tcp
...
Fixes #10 .
2016-11-14 22:59:09 -08:00
Garrett Squire
4f88388a37
add runtime vitals ( #9 )
...
Fixes #5 .
2016-11-14 11:07:06 -08:00
Jaana Burcu Dogan
d63e5ab6fc
add godoc link
2016-11-14 00:08:34 -08:00
Jaana Burcu Dogan
0d70d8989d
indicate agent running processes with *
2016-11-13 23:26:37 -08:00
Jaana Burcu Dogan
9071219631
rewrite README
2016-11-13 22:29:02 -08:00
Jaana Burcu Dogan
40f925db08
fix usage text
2016-11-13 21:59:09 -08:00
Jaana Burcu Dogan
9423f02414
introduce pprof-* subcommands
2016-11-13 21:50:30 -08:00
Jaana Burcu Dogan
564bb670d9
pass binary path to go tool pprof
2016-11-13 21:46:10 -08:00
Jaana Burcu Dogan
ba1069cb7e
update the README with new memstats
2016-11-13 21:21:35 -08:00
Jaana Burcu Dogan
1c7ca3d7a5
show 'help' on usage text
2016-11-13 21:05:11 -08:00
Jaana Burcu Dogan
2a4aa38330
add TODO to symbolize profiles
2016-11-13 21:02:29 -08:00
Jaana Burcu Dogan
50ad24c982
agent: remove debug annotations from heap profile
2016-11-13 21:00:00 -08:00
Jaana Burcu Dogan
a0334e989c
support cpu profile
2016-11-13 20:38:17 -08:00
Jaana Burcu Dogan
58675bffed
remove Println
2016-11-13 20:07:25 -08:00
Jaana Burcu Dogan
c3bb8a5007
add experimental pprof support
2016-11-13 20:04:40 -08:00
Jaana Burcu Dogan
d53c7a7dab
report units for memstats
2016-11-13 19:20:53 -08:00
Jaana Burcu Dogan
8044fcee41
Merge pull request #4 from mattn/ignore-systemprocess
...
ignore system process
2016-11-12 08:46:59 -08:00
Yasuhiro Matsumoto
d8ff5c67b7
ignore system process
2016-11-12 21:26:51 +09:00
Jaana Burcu Dogan
0f5d168dd7
rename files
2016-11-11 19:57:09 -08:00
Jaana Burcu Dogan
1eb00aef43
print usage if cmd=help
2016-11-11 19:55:16 -08:00
Jaana Burcu Dogan
bd36df3f95
remove unnecessary agent sym check
2016-11-11 17:26:44 -08:00
Jaana Burcu Dogan
3e9327ceed
agent: document that agent works via an unsecure unix socket
...
Fixes #3 .
2016-11-11 17:05:41 -08:00
Jaana Burcu Dogan
c15b304160
add build status
2016-11-11 15:44:07 -08:00
Jaana Burcu Dogan
fa859543ad
add TODO
2016-11-11 15:41:29 -08:00
Jaana Burcu Dogan
abbbf18aa2
internal: disable goobj
...
Fixes #2 .
2016-11-11 14:24:41 -08:00
Jaana Burcu Dogan
644b41711d
add travis build
2016-11-11 13:46:23 -08:00
Jaana Burcu Dogan
5d86652de7
remove the test that required internal/testenv
2016-11-11 13:36:48 -08:00
Jaana Burcu Dogan
e18d3dd825
Merge pull request #1 from jrevillas/patch-1
...
Update README.md
2016-11-11 13:16:45 -08:00
Javier Revillas
182163fe68
Update README.md
2016-11-11 21:05:26 +01:00