Specific software, for instance RawDigger, FastRawViewer, Histogrammar or the discontinued Photobola Rawnalyze, can be used to compute the raw histogram.
Various software programs, including RawDigger, FastRawViewer, Histogrammar, and the defunct Photobola Rawnalyze, are capable of computing a raw histogram.