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


Groups > linux.kernel > #1733695

Re: [PATCH 0/4] perf script: Add script per-event-dump support

From Jiri Olsa <jolsa@redhat.com>
Newsgroups linux.kernel
Subject Re: [PATCH 0/4] perf script: Add script per-event-dump support
Date 2017-09-18 09:30 +0200
Message-ID <uqYFc-33c-5@gated-at.bofh.it> (permalink)
References <uqXg6-1HP-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Sep 18, 2017 at 01:55:18PM +0800, yuzhoujian wrote:
> Introduce a new option to print trace output to files named by the
> monitored events and update perf-script documentation accordingly.
> 
> Shown below is output of perf script command with the newly introduced
> option.
> 
>         $perf record -e cycles -e context-switches -ag -- sleep 10
>         $perf script --per-event-dump
>         $ls /
>         cycles.stacks context-switches.stacks

hum, how adding -e option to be consistent with record, like:

	$ perf record -e cycles -e context-switches ...

	$ perf script -e cycles
	--- dumps only cycles to perf.data

	$ perf report -e cycles 
	--- displays only cycles

thanks,
jirka

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


Thread

[PATCH 0/4] perf script: Add script per-event-dump support yuzhoujian <ufo19890607@gmail.com> - 2017-09-18 08:00 +0200
  [PATCH 3/4] Add the fp_selection_helper function to set the file pointer for the related functions yuzhoujian <ufo19890607@gmail.com> - 2017-09-18 08:00 +0200
    Re: [PATCH 3/4] Add the fp_selection_helper function to set the file  pointer for the related functions Jiri Olsa <jolsa@redhat.com> - 2017-09-22 11:10 +0200
      Re: [PATCH 3/4] Add the fp_selection_helper function to set the file  pointer for the related functions Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-09-22 16:30 +0200
  [PATCH 1/4] Add a new element for the struct perf_tool, and add the --per-event-dump option for perf script yuzhoujian <ufo19890607@gmail.com> - 2017-09-18 08:00 +0200
    Re: [PATCH 1/4] Add a new element for the struct perf_tool, and add  the --per-event-dump option for perf script Jiri Olsa <jolsa@redhat.com> - 2017-09-22 11:10 +0200
    Re: [PATCH 1/4] Add a new element for the struct perf_tool, and add  the --per-event-dump option for perf script Jiri Olsa <jolsa@redhat.com> - 2017-09-22 11:10 +0200
    Re: [PATCH 1/4] Add a new element for the struct perf_tool, and add  the --per-event-dump option for perf script Jiri Olsa <jolsa@redhat.com> - 2017-09-22 11:10 +0200
  [PATCH 4/4] Replace printf with fprintf for all the output functions yuzhoujian <ufo19890607@gmail.com> - 2017-09-18 08:00 +0200
    Re: [PATCH 4/4] Replace printf with fprintf for all the output  functions Jiri Olsa <jolsa@redhat.com> - 2017-09-22 11:10 +0200
      Re: [PATCH 4/4] Replace printf with fprintf for all the output  functions Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-09-22 16:20 +0200
    Re: [PATCH 4/4] Replace printf with fprintf for all the output  functions Jiri Olsa <jolsa@redhat.com> - 2017-09-22 11:10 +0200
  Re: [PATCH 0/4] perf script: Add script per-event-dump support Jiri Olsa <jolsa@redhat.com> - 2017-09-18 09:30 +0200

csiph-web