/v1/sys/pprof and vault plugins

while vault exposes /v1/sys/pprof API
what should one do to profile a plugin ? each plugin is invoked as a separate process.
should every plugin developer add its own pprof listener ? hoping the port will be unique ?

I ended up adding custom pprof code in every plugin .