Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1432226
| From | Arnaldo Carvalho de Melo <acme@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 0/7] perf ctf: Convert comm, fork and exit events to CTF |
| Date | 2016-06-27 21:10 +0200 |
| Message-ID | <rOK4V-4o3-25@gated-at.bofh.it> (permalink) |
| References | <rNxt7-7os-3@gated-at.bofh.it> <rNypb-7Zv-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Em Fri, Jun 24, 2016 at 02:28:51PM +0200, Jiri Olsa escreveu:
> On Fri, Jun 24, 2016 at 11:22:05AM +0000, Wang Nan wrote:
> > After converting perf.data to CTF, we lost pid-tid-comm mapping. Which
> > makes inconvience. For example, in perf script output we know which
> > process issue an event like this:
> >
> > compiz 19361 [001] 3275709.313929: raw_syscalls:sys_exit: NR 7 = 0
> >
> > After converting to CTF, we only get this:
> >
> > [3275709.313929985] (+0.110646118) raw_syscalls:sys_exit: { cpu_id = 1 }, { perf_ip = 0xFFFFFFFF8107B2E8, perf_tid = 19361, perf_pid = 19361, perf_id = 18920, perf_period = 1, common_type = 16, common_flags = 0, common_preempt_count = 1, common_pid = 19361, id = 7, ret = 0 }
> >
> > Currently, if we want to find the name and parent of a process, we
> > have to collect 'sched:sched_switch' event.
> >
> > This patch set adds a '--all' option to 'perf convert', converts comm,
> > fork and exit events to CTF output. CTF user now can track the mapping
> > by their own.
> >
> > v1 -> v2: Report number of sample and non-sample events when finish.
> > rename opts.non_sample to opts.all.
> >
> > Wang Nan (7):
> > perf ctf: Add value_set_string() helper
> > perf ctf: Pass convert options through opts structure
> > perf ctf: Add 'all' option
> > perf ctf: Prepare collect non-sample events
> > perf ctf: Generate comm event to CTF output
> > perf ctf: Add '--all' option for 'perf data convert'
> > perf ctf: Generate fork and exit events to CTF output
>
> Acked-by: Jiri Olsa <jolsa@kernel.org>
Thanks, applied.
- Arnaldo
- Arnaldo
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 0/7] perf ctf: Convert comm, fork and exit events to CTF Wang Nan <wangnan0@huawei.com> - 2016-06-24 13:30 +0200
Re: [PATCH v2 0/7] perf ctf: Convert comm, fork and exit events to CTF Jiri Olsa <jolsa@redhat.com> - 2016-06-24 14:30 +0200
Re: [PATCH v2 0/7] perf ctf: Convert comm, fork and exit events to CTF Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-06-27 21:10 +0200
Re: [PATCH v2 0/7] perf ctf: Convert comm, fork and exit events to CTF Jiri Olsa <jolsa@redhat.com> - 2016-06-24 14:30 +0200
Re: [PATCH v2 0/7] perf ctf: Convert comm, fork and exit events to CTF pi3orama <pi3orama@163.com> - 2016-06-24 14:40 +0200
Re: [PATCH v2 0/7] perf ctf: Convert comm, fork and exit events to CTF Jiri Olsa <jolsa@redhat.com> - 2016-06-24 15:00 +0200
Re: [PATCH v2 0/7] perf ctf: Convert comm, fork and exit events to CTF Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-06-24 14:50 +0200
Re: [PATCH v2 0/7] perf ctf: Convert comm, fork and exit events to CTF pi3orama <pi3orama@163.com> - 2016-06-24 14:50 +0200
Re: [PATCH v2 0/7] perf ctf: Convert comm, fork and exit events to CTF Jiri Olsa <jolsa@redhat.com> - 2016-06-24 15:10 +0200
Re: [PATCH v2 0/7] perf ctf: Convert comm, fork and exit events to CTF Jiri Olsa <jolsa@redhat.com> - 2016-06-24 14:50 +0200
csiph-web