Bug 216439 - sqlhist: Implement cast buckets=#
Summary: sqlhist: Implement cast buckets=#
Status: NEW
Alias: None
Product: Tools
Classification: Unclassified
Component: Trace-cmd/Kernelshark (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: Default virtual assignee for Trace-cmd and kernelshark
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-01 21:48 UTC by Steven Rostedt
Modified: 2022-09-01 21:48 UTC (History)
0 users

See Also:
Kernel Version: N/A
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Steven Rostedt 2022-09-01 21:48:10 UTC
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'

Note You need to log in before you can comment on or make changes to this bug.