The default for the --enable-profiling option is off for mysql-5.0.95-1.el5_7.1 ... this is the opposite behavior from mysql-5.0.77-4.el5_6.6 (the previous version). I have confirmed this issue on the CentOS, Oracle, and RHEL versions of mysql-server-5.0.95-1.el5_7.1 Please see this CentOS Bug for details: http://bugs.centos.org/view.php?id=5615
Hm, it appears that somewhere between 5.0.77 and 5.0.95, upstream modified their configure script so that --enable-profiling defaults to off, where it used to default to on. They did not bother to document this in the release notes AFAICS :-(. I wonder why they did that...
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux release for currently deployed products. This request is not yet committed for inclusion in a release.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-0121.html