]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - tools/perf/util/sort.c
Merge branch 'ras-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[karo-tx-linux.git] / tools / perf / util / sort.c
index 8521e3c89b8d5ef6f0a553e87c9821d33da15789..2d8ccd4d9e1b7bd5231d35c2afaaec9078c86573 100644 (file)
@@ -1577,6 +1577,12 @@ static int __hpp_dimension__add_output(struct hpp_dimension *hd)
        return 0;
 }
 
+int hpp_dimension__add_output(unsigned col)
+{
+       BUG_ON(col >= PERF_HPP__MAX_INDEX);
+       return __hpp_dimension__add_output(&hpp_sort_dimensions[col]);
+}
+
 int sort_dimension__add(const char *tok)
 {
        unsigned int i;