CaptainX0r <captainx0r(at)yahoo(dot)com> writes:
> gprof says:
> Fatal ELF error: can't read ehdr (Request error: class
> file/memory mismatch)
Hm, that's a new one on me. Just to eliminate the obvious: you did
read the gprof man page? It typically needs both the pathname of the
postgres executable and that of the gmon.out file.
If that's not it, I fear you need a gprof expert, which I ain't.
regards, tom lane