Message ID | 20211110231025.1131051-2-rostedt@goodmis.org (mailing list archive) |
---|---|
State | Accepted |
Commit | 9851fed1a2130389678a7deb3430c9579ed437fc |
Headers | show |
Series | tracefs: Make minor updates to histograms | expand |
diff --git a/Documentation/libtracefs-hist.txt b/Documentation/libtracefs-hist.txt index 0139ba8..cc82286 100644 --- a/Documentation/libtracefs-hist.txt +++ b/Documentation/libtracefs-hist.txt @@ -282,7 +282,8 @@ int main (int argc, char **argv, char **env) } ret = tracefs_hist_add_value(hist, "bytes_alloc"); - ret |= tracefs_hist_add_sort_key(hist, "bytes_req", "bytes_alloc", NULL); + ret |= tracefs_hist_add_sort_key(hist, "bytes_req"); + ret |= tracefs_hist_add_sort_key(hist, "bytes_alloc"); ret |= tracefs_hist_sort_key_direction(hist, "bytes_alloc", TRACEFS_HIST_SORT_DESCENDING);