Re: [PATCH v3 14/17] perf: Remove subcmd dependencies on strbuf

2015-12-14 Thread Josh Poimboeuf
On Mon, Dec 14, 2015 at 02:50:12PM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Dec 14, 2015 at 10:05:37AM -0600, Josh Poimboeuf escreveu: > > On Mon, Dec 14, 2015 at 12:44:21PM -0300, Arnaldo Carvalho de Melo wrote: > > > Em Sun, Dec 13, 2015 at 10:18:14PM -0600, Josh Poimboeuf escreveu: > > >

Re: [PATCH v3 14/17] perf: Remove subcmd dependencies on strbuf

2015-12-14 Thread Arnaldo Carvalho de Melo
Em Mon, Dec 14, 2015 at 10:05:37AM -0600, Josh Poimboeuf escreveu: > On Mon, Dec 14, 2015 at 12:44:21PM -0300, Arnaldo Carvalho de Melo wrote: > > Em Sun, Dec 13, 2015 at 10:18:14PM -0600, Josh Poimboeuf escreveu: > > > Introduce and use new astrcat() and astrcatf() functions which replace > > > th

Re: [PATCH v3 14/17] perf: Remove subcmd dependencies on strbuf

2015-12-14 Thread Josh Poimboeuf
On Mon, Dec 14, 2015 at 12:44:21PM -0300, Arnaldo Carvalho de Melo wrote: > Em Sun, Dec 13, 2015 at 10:18:14PM -0600, Josh Poimboeuf escreveu: > > Introduce and use new astrcat() and astrcatf() functions which replace > > the strbuf functionality for subcmd. > > > > > diff --git a/tools/perf/ut

Re: [PATCH v3 14/17] perf: Remove subcmd dependencies on strbuf

2015-12-14 Thread Arnaldo Carvalho de Melo
Em Sun, Dec 13, 2015 at 10:18:14PM -0600, Josh Poimboeuf escreveu: > Introduce and use new astrcat() and astrcatf() functions which replace > the strbuf functionality for subcmd. > diff --git a/tools/perf/util/subcmd-util.h b/tools/perf/util/subcmd-util.h > new file mode 100644 > index 000.

Re: [PATCH v3 14/17] perf: Remove subcmd dependencies on strbuf

2015-12-14 Thread Josh Poimboeuf
On Mon, Dec 14, 2015 at 11:25:51AM +0100, Jiri Olsa wrote: > On Sun, Dec 13, 2015 at 10:18:14PM -0600, Josh Poimboeuf wrote: > > Introduce and use new astrcat() and astrcatf() functions which replace > > the strbuf functionality for subcmd. > > hum, would it be better then to put strbuf into lib a

Re: [PATCH v3 14/17] perf: Remove subcmd dependencies on strbuf

2015-12-14 Thread Jiri Olsa
On Sun, Dec 13, 2015 at 10:18:14PM -0600, Josh Poimboeuf wrote: > Introduce and use new astrcat() and astrcatf() functions which replace > the strbuf functionality for subcmd. hum, would it be better then to put strbuf into lib as well? jirka -- To unsubscribe from this list: send the line "unsub

[PATCH v3 14/17] perf: Remove subcmd dependencies on strbuf

2015-12-13 Thread Josh Poimboeuf
Introduce and use new astrcat() and astrcatf() functions which replace the strbuf functionality for subcmd. Signed-off-by: Josh Poimboeuf --- tools/perf/util/exec_cmd.c | 27 +- tools/perf/util/help.c | 14 ++ tools/perf/util/parse-options.c | 42