lkml.org 
[lkml]   [2016]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH 2/2] perf record: Add --dry-run option to check cmdline options
    On Tue, Jun 21, 2016 at 3:13 AM, Arnaldo Carvalho de Melo
    <acme@kernel.org> wrote:
    > Em Mon, Jun 20, 2016 at 09:22:11AM -0700, Alexei Starovoitov escreveu:
    >> On Mon, Jun 20, 2016 at 11:38:18AM -0300, Arnaldo Carvalho de Melo wrote:
    >> > Doing:
    >
    >> > perf bcc -c foo.c
    >
    >> > Looks so much simpler and similar to an existing compile source code
    >> > into object file workflow (gcc's, any C compiler) that I think it would
    >> > fit in the workflow being discussed really nicely.
    >
    >> I'm hopeful that eventually we'll be able merge iovisor/bcc project
    >> with perf, so would be good to reserve 'perf bcc' command for that
    >> future use. Also picking a different name for compiling would be less
    >> confusing to users who already familiar with bcc. Instead we can use:
    >> perf bpfcc foo.c -o foo.o
    >> perf cc foo.c
    >
    > 'perf cc' seems sensible, and has the added bonus of being one letter
    > shorter :-)
    >
    > - Arnaldo
    >
    >> perf compile foo.c

    What about this?

    perf bpf --compile foo.c or,
    perf bpf --cc foo.c

    Thanks,
    Namhyung

    \
     
     \ /
      Last update: 2016-06-21 04:41    [W:2.253 / U:0.108 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site