Re: [PATCH 1/9] perf, tools: Add jsmn `jasmine' JSON parser

From: Andi Kleen
Date: Wed May 14 2014 - 01:01:10 EST


On Wed, May 14, 2014 at 12:25:44PM +0900, Namhyung Kim wrote:
> Hi Andi,
>
> On Mon, 12 May 2014 15:51:06 -0700, Andi Kleen wrote:
> > From: Andi Kleen <ak@xxxxxxxxxxxxxxx>
> >
> > 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.
>
> It seems like the original code now also supports it.

Sorry I don't want to fork this code.

I think we're better of staying near upstream than trying
to fix all those (unimportant) nit-picks.

Please only point out real errors. Also the code is intentionally
not trying to have a lot of dependencies on perf infrastructure.

-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/