[PATCH 01/11] perf, tools: Add jsmn `jasmine' JSON parser

2014-07-11 Thread Andi Kleen
From: Andi Kleen I need a JSON parser. This adds the simplest JSON parser I could find -- Serge Zaitsev's jsmn `jasmine' -- to the perf library. I merely converted it to (mostly) Linux style and added support for non 0 terminated input. The parser is quite straight forward and does not copy any

[PATCH 01/11] perf, tools: Add jsmn `jasmine' JSON parser

2014-07-11 Thread Andi Kleen
From: Andi Kleen a...@linux.intel.com I need a JSON parser. This adds the simplest JSON parser I could find -- Serge Zaitsev's jsmn `jasmine' -- to the perf library. I merely converted it to (mostly) Linux style and added support for non 0 terminated input. The parser is quite straight forward