diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2016-03-01 16:10:38 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-02-29 15:34:28 -0800 |
commit | e2171a0ca07b38932a3478dea0dfd2d9fb97b83f (patch) | |
tree | ae2e0012f41f3d6f438d9144f549d6fcf0d6fd19 /api | |
parent | 496f0b6d26daf5eb60f662cb47ba44b31d91e1cd (diff) |
cli: add an options to enable profiling
$ gobgp -r 10000 monitor global rib
this will enable profiling through tcp port 10000
$ go tool pprof 'http://localhost:10000/debug/pprof/profile?seconds=10'
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'api')
0 files changed, 0 insertions, 0 deletions