The cast function of sqlhist does not implement .buckets as it does for log2. That is, one could do: sqlhist -e 'select comm,prio,cast(delta as log2) from wakeup_lat' But not: sqlhist -e 'select comm,prio,cast(delta as buckets=10) from wakeup_lat'
Steve, Could you please let me know, if this is already implemented?. If not i wanted to work on this. --sameer.
Nope, there's a few things I need to fix with sqlhist, but that wasn't one of them (at least that I remember). Feel free to add that. Note, I've been running behind on my libtracefs work because I've been focusing mostly on the kernel lately. But that should be running down soon so I can get back to the user space tooling. Thanks! -- Steve