Shawn Smith
07a10154a6
add Go 1.8 to travis.yml ( #35 )
2017-03-08 21:05:54 -08:00
Jaana Burcu Dogan
e1d2345403
doc: fix title on README
2017-03-02 11:52:43 -08:00
Nick K
288e543fee
add remote mode support ( #30 )
2017-03-02 11:51:14 -08:00
Cezar Sá Espinola
c8ccacaea5
agent: prettier formatting for units printed by memstats ( #28 )
2017-02-17 16:06:16 -08:00
Jaana Burcu Dogan
35b841e24e
doc: reorganize the README
2017-01-20 13:19:03 -08:00
Jaana Burcu Dogan
671bd43984
gops: add Go execution trace support
2017-01-20 13:10:54 -08:00
Jaana Burcu Dogan
3fe5c6c719
reorg the help text
2017-01-19 18:50:59 -08:00
Jaana Burcu Dogan
fa6968806c
fix godoc
2017-01-19 18:43:31 -08:00
Jaana Burcu Dogan
218c61a1d3
gops: Stat pidfile to determine if agent is working
...
Fixes #27 .
2017-01-19 18:37:32 -08:00
Jaana Burcu Dogan
290a9a1e3d
gops: concurrently lookup for Go processes
2017-01-19 16:35:21 -08:00
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