Electron-phonon interaction is of central importance for the electrical and heat transport properties of metals, and is directly responsible for charge-density-waves or (conventional) superconducting instabilities. The direct observation of phonon dispersion anomalies across electronic phase transitions can provide insightful information regarding the mechanisms underlying their formation. Here, we review the current status of phonon dispersion studies in superconductors under hydrostatic and uniaxial pressure. Advances in the instrumentation of high resolution inelastic X-ray scattering beamlines and pressure generating devices allow these measurements to be performed routinely at synchrotron beamlines worldwide.