Hi Linus, Simon
One of the things on the TODO list for mainline is to strip out all the graphvis/JSON formatting done by the kernel and put it into user space, probably batctl, or another standalone tool, or maybe even a little library...
Why:
1) No other file in /proc does any special formatting. 2) What happens when one tool wants graphvis and another JSON, at the same time? 3) What happens when you want a third, forth, fifth format etc...
Are either of you interested on working on this?
I guess the first step is to design a file format for vis in proc. I would suggest space separated values. Maybe one line per vis_into_entry? I would also suggest the quality value is 0-255, not a real number. User space, which has float support, can then turn it into a float if need be.
Andrew