Re: [PATCH 32/43] tools lib: Adopt strim() from the kernel

2019-07-02 Thread Arnaldo Carvalho de Melo
Em Mon, Jul 01, 2019 at 11:33:20PM -0400, André Goddard Rosa escreveu: > On Mon, Jul 1, 2019 at 22:28 Arnaldo Carvalho de Melo > wrote: > > > From: Arnaldo Carvalho de Melo > > > > Since we're working on moving stuff out of tools/perf/util/ to > > tools/lib/, take the opportunity to adopt routin

[PATCH 32/43] tools lib: Adopt strim() from the kernel

2019-07-01 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Since we're working on moving stuff out of tools/perf/util/ to tools/lib/, take the opportunity to adopt routines from the kernel that are equivalent, so that tools/ code look more like the kernel. Cc: Adrian Hunter Cc: André Goddard Rosa Cc: Jiri Olsa Cc: Namhy