The present invention provides 4,6-disubstituted pyrimidine compounds useful as kinase inhibitors, pharmaceutically acceptable salts and compositions thereof, and methods of using the same. The present invention also provides probe compounds, such as compounds of formula V: wherein each of Ring A, Ring B, R1′, T, Rt, m, Rx, Ry, and W is described herein.