Probing nuclear bubble configurations by proton-induced reactions