pprof middleware.