Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1341995

Re: [PATCH 13/15] perf script: Display data_src values

From Arnaldo Carvalho de Melo <acme@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 13/15] perf script: Display data_src values
Date 2016-02-24 14:40 +0100
Message-ID <r5HPC-5eb-59@gated-at.bofh.it> (permalink)
References <r5DiV-1S4-3@gated-at.bofh.it> <r5DiW-1S4-39@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Em Wed, Feb 24, 2016 at 09:46:54AM +0100, Jiri Olsa escreveu:
> Adding support to display data_src values,
> for events with data_src data in sample.

While testing patches in this series I noticed this:

[root@jouet ~]# perf mem record -a
  Error: unknown switch `a'

 Usage: perf mem record [<options>] [<command>]
    or: perf mem record [<options>] -- <command> [<options>]

    -e, --event <event>   event selector. use 'perf mem record -e list' to list available events
    -v, --verbose         be more verbose (show counter open errors, etc)

[root@jouet ~]# perf mem record -- -a
^C[ perf record: Woken up 1 times to write data ]
[ perf record: Captured and wrote 3.149 MB perf.data (173 samples) ]

[root@jouet ~]#



Can't we imply the -- after 'record', i.e pass everything after 'record'
to the underlying 'perf record' call?

- Arnaldo

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCHv2 00/15] perf tools: Several memory events updates Jiri Olsa <jolsa@kernel.org> - 2016-02-24 09:50 +0100
  [PATCH 01/15] perf mem: Check for memory events support Jiri Olsa <jolsa@kernel.org> - 2016-02-24 09:50 +0100
    [tip:perf/core] perf mem record: Check for memory events support tip-bot for Jiri Olsa <tipbot@zytor.com> - 2016-02-25 08:40 +0100
  [PATCH 13/15] perf script: Display data_src values Jiri Olsa <jolsa@kernel.org> - 2016-02-24 09:50 +0100
    Re: [PATCH 13/15] perf script: Display data_src values Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-02-24 14:40 +0100
      Re: [PATCH 13/15] perf script: Display data_src values Jiri Olsa <jolsa@redhat.com> - 2016-02-24 20:20 +0100
    [tip:perf/core] perf script: Display data_src values tip-bot for Jiri Olsa <tipbot@zytor.com> - 2016-02-25 08:50 +0100
  [PATCH 07/15] perf tools: Introduce perf_mem__snp_scnprintf function Jiri Olsa <jolsa@kernel.org> - 2016-02-24 09:50 +0100
    [tip:perf/core] perf tools: Introduce perf_mem__snp_scnprintf  function tip-bot for Jiri Olsa <tipbot@zytor.com> - 2016-02-25 08:40 +0100
  [PATCH 15/15] perf mem: Add Intel DATALA memory events Jiri Olsa <jolsa@kernel.org> - 2016-02-24 09:50 +0100
  [PATCH 04/15] perf mem: Add -u/-k options Jiri Olsa <jolsa@kernel.org> - 2016-02-24 10:00 +0100
    Re: [PATCH 04/15] perf mem: Add -u/-k options Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-02-24 14:20 +0100
      Re: [PATCH 04/15] perf mem: Add -u/-k options Jiri Olsa <jolsa@redhat.com> - 2016-02-24 20:20 +0100

csiph-web