perf strlist: Make dupstr be the default and part of an extensible config parm
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 20 Jul 2015 15:13:34 +0000 (12:13 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 20 Jul 2015 15:13:34 +0000 (12:13 -0300)
commit4a77e2183fc0260c0efc7adeccf933fef893ad5f
treeb4edd7039b862d167043ae80ee18c720368b14c3
parentab7322af8c620987ed058e39506c97e5f2d3c65c
perf strlist: Make dupstr be the default and part of an extensible config parm

So that we can pass more info to strlist__new() without having to change
its function signature, just adding entries to the strlist_config struct
with sensible defaults for when those fields are not specified.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-5uaaler4931i0s9sedxjquhq@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-buildid-cache.c
tools/perf/builtin-trace.c
tools/perf/util/build-id.c
tools/perf/util/machine.c
tools/perf/util/probe-event.c
tools/perf/util/probe-finder.c
tools/perf/util/strlist.c
tools/perf/util/strlist.h
tools/perf/util/symbol.c
tools/perf/util/thread_map.c