^^ The sensor's electrical property is, for the most part, linear. This is why gamma correction is necessary to start with.
---
Typically the value axis is linear, and the pixel count axis is either linear or logarithmic. I don't think I have ever seen a histogram with a non-linear value axis - but, it's been a while since I've used software that had the option (and when I did, I kept it in linear scale) so I could be wrong.
As for ETTR, just place the brightest region of the scene at the edge of the histogram without over-exposure and place shadows in raw processing using curves or levels. This is regardless if the histogram is linear or logarithmic.
ETTR is often over-complicated through imprecise and non-photographic hedging. Figure out how many stops above middle grey will clip, and just spot meter the brightest region and increase exposure by just under that amount.
The only time you don't want to do this is under very low contrast scene which would require a severe adjustment to compenesate.