On Wed, Feb 08, 2017 at 02:01:49PM +0530, Hari Bathini wrote:

SNIP

> diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c
> index ffac8ca..1946a17 100644
> --- a/tools/perf/builtin-record.c
> +++ b/tools/perf/builtin-record.c
> @@ -875,6 +875,9 @@ static int __cmd_record(struct record *rec, int argc, 
> const char **argv)
>       signal(SIGTERM, sig_handler);
>       signal(SIGSEGV, sigsegv_handler);
>  
> +     if (rec->opts.record_namespaces)
> +             tool->namespace_events = true;

should we do this by default? seems like low traffic event
with info that should be always present

also in case we keep the --namespace option, please add
it to the record's doc

jirka

Reply via email to