summaryrefslogtreecommitdiffstats
path: root/tools/perf
diff options
context:
space:
mode:
authorMichal Nazarewicz <mina86@mina86.com>2014-08-27 22:58:47 +0200
committerFelipe Balbi <balbi@ti.com>2014-09-02 16:16:46 +0200
commitb9a4274699c6973f62979d664cbe7c9aca4f6a9a (patch)
tree30fe4bf98ef97f9884cebfe35df467e32ba12faf /tools/perf
parenttools: ffs-test: convert to new descriptor format (diff)
downloadlinux-b9a4274699c6973f62979d664cbe7c9aca4f6a9a.tar.xz
linux-b9a4274699c6973f62979d664cbe7c9aca4f6a9a.zip
tools: ffs-test: add compatibility code for old kernels
If ffs-test is used with a kernel prior to 3.14, which do not support the new descriptors format, it will fail when trying to write the descriptors. Add a function that converts the new descriptors to the legacy ones and use it to retry writing the descriptors using the legacy format. Also add ā€œ-lā€ flag to ffs-test which will cause the tool to never try the new format and instead immediatelly try the legacy one. This should be useful to test whether parsing of the old format still works on given 3.14+ kernel. Signed-off-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions