Re: [PATCH 2/2] perf record: Add --dry-run option to check cmdline options
From: Arnaldo Carvalho de Melo
Date: Thu Jun 16 2016 - 12:50:48 EST
Em Thu, Jun 16, 2016 at 01:48:15PM -0300, Arnaldo Carvalho de Melo escreveu:
> Em Thu, Jun 16, 2016 at 08:02:41AM +0000, Wang Nan escreveu:
> > With '--dry-run', 'perf record' doesn't do reall recording. Combine with
> > llvm.dump-obj option, --dry-run can be used to help compile BPF objects for
> > embedded platform.
>
> So these are nice and have value, but can we have a subcommand to do all
> this with an expressive name, Something like:
>
> perf bpfcc foo.c -o foo
>
> or shorter:
>
> perf bcc foo.c -o foo
BTW, I just applied both files. Testing them now.
- Arnaldo