On 05/07/2014 12:35 PM, Vincent Bernat wrote:
  ❦  7 mai 2014 11:15 +0200, Willy Tarreau <[email protected]> :

haproxy does not include DTrace probes by any chance right? :)

No, and I have no idea how this works either. But if you feel like it
can provide some value and be done without too much effort, feel free
to try :-)

Here is a proof of concept. To test, use `make TARGET=linux2628
USE_DTRACE=1`. On Linux, you need systemtap-sdt-dev or something like
that. Then, there is a quick example in example/haproxy.stp. You can try
it like this:

#+begin_src sh
sudo stap  ./examples/haproxy.stp
#+end_src


This is a really cool proof of concept.  Thank you for sharing Vincent.



Reply via email to