As long as the API is the same, it shouldn't be a problem, but you never know..
Just try it and tell use the result.
http://pinba.org - realtime statistics for PHP
Just in case anybody wonders what the answer is:
yes, Pinba compiles and works fine with libevent2.