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


Groups > linux.kernel > #1413657

Re: [PATCH v9 00/14] Add support for remote unwind

From Hekuang <hekuang@huawei.com>
Newsgroups linux.kernel
Subject Re: [PATCH v9 00/14] Add support for remote unwind
Date 2016-06-04 07:50 +0200
Message-ID <rGcD7-4Nz-3@gated-at.bofh.it> (permalink)
References <rFO7L-6nc-9@gated-at.bofh.it> <rFRoZ-69-1@gated-at.bofh.it> <rG3gu-7rr-13@gated-at.bofh.it> <rG4vT-8lx-13@gated-at.bofh.it> <rG4vT-8lx-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw



在 2016/6/4 5:09, Arnaldo Carvalho de Melo 写道:
> Em Fri, Jun 03, 2016 at 06:06:02PM -0300, Arnaldo Carvalho de Melo escreveu:
>> Em Fri, Jun 03, 2016 at 04:42:05PM -0300, Arnaldo Carvalho de Melo escreveu:
>>> Em Fri, Jun 03, 2016 at 09:06:29AM +0200, Jiri Olsa escreveu:
>>>> On Fri, Jun 03, 2016 at 03:33:09AM +0000, He Kuang wrote:
>>>>> v9:
>>>>>   - Change function unwind__register_ops() to static.
>>>>>   - Move up unwind__prepare_access() in thread__insert_map() and save
>>>>>     map_groups__remove() call.
>>>>>   - Enclose multiple line if/else into braces.
>>>>>   - Fix miss modified function declaration for unwind__prepare_access()
>>>>>     in patch 10.
>>>   
>>>> for patchset:
>>>   
>>>> Acked-by: Jiri Olsa <jolsa@kernel.org>
>>> Thanks, applied, build testing.
>> Build tested went ok, but then 'perf top' crashes:
>>
>> [root@jouet ~]# perf top
>> perf: Segmentation fault
>> -------- backtrace --------
>> perf[0x55591b]
>> /lib64/libc.so.6(+0x34ab0)[0x7f38ad9c1ab0]
>> perf(normalize_arch+0x27)[0x534797]
>> perf(unwind__prepare_access+0xbb)[0x52b15b]
>> perf(thread__insert_map+0x27)[0x4d4837]
>> perf(machine__process_mmap2_event+0xd7)[0x4ca187]
>> perf(perf_event__synthesize_mmap_events+0x3e2)[0x491b32]
>> perf(perf_event__synthesize_threads+0x445)[0x492635]
>> perf(cmd_top+0xee0)[0x442f50]
>> perf[0x486a91]
>> perf(main+0x6ee)[0x42485e]
>> /lib64/libc.so.6(__libc_start_main+0xf0)[0x7f38ad9ad580]
>> perf(_start+0x29)[0x424949]
>> [0x0]
>> [root@jouet ~]#
>>
>> And I bet that 'perf trace' will too, lemme see, well, it crashes even
>> more spetacularly, but that is the topic of another bug report, will
>> send soon.
>>
>> Anyway, please try your patchkit with 'perf top' and 'perf trace', as
>> both don't use perf.data files, i.e. they work 'live', so probably
>> things that you touch in normalize_arch() are not initialized and need
>> to be setup.
> Ah, no need to resend the whole patchkit, just find out what is the bug
> and send me a patch and I'll insert it at the right point to avoid
> introducing a bisect breaking point.
>
> Your patchkit is in my perf/unwind branch at my tree, I already added
> Jiri's Acked-by in all the patches.
>
> git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git
>
> Thanks,
>
> - Arnaldo
> -

I send the updated one after PATCH 10/14,  env->arch is null in live mode,
comments are added and "perf top/trace" works now.

Thanks.

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


Thread

[PATCH v9 00/14] Add support for remote unwind He Kuang <hekuang@huawei.com> - 2016-06-03 05:40 +0200
  [PATCH v9 14/14] perf callchain: Support aarch64 cross-platform He Kuang <hekuang@huawei.com> - 2016-06-03 05:40 +0200
    [tip:perf/core] perf callchain: Support aarch64 cross-platform tip-bot for He Kuang <tipbot@zytor.com> - 2016-06-08 11:00 +0200
  [PATCH v9 06/14] perf tools: Separate local/remote libunwind config He Kuang <hekuang@huawei.com> - 2016-06-03 05:40 +0200
    [tip:perf/core] perf unwind: Separate local/remote libunwind config tip-bot for He Kuang <tipbot@zytor.com> - 2016-06-08 10:50 +0200
  [PATCH v9 11/14] perf tools: Change fixed name of libunwind__arch_reg_id to macro He Kuang <hekuang@huawei.com> - 2016-06-03 05:40 +0200
    [tip:perf/core] perf unwind: Change fixed name of  libunwind__arch_reg_id to macro tip-bot for He Kuang <tipbot@zytor.com> - 2016-06-08 11:00 +0200
  [PATCH v9 09/14] perf tools: Export normalize_arch() function He Kuang <hekuang@huawei.com> - 2016-06-03 05:40 +0200
    [tip:perf/core] perf tools: Export normalize_arch() function tip-bot for He Kuang <tipbot@zytor.com> - 2016-06-08 11:00 +0200
  [PATCH v9 02/14] perf tools: Decouple thread->address_space on libunwind He Kuang <hekuang@huawei.com> - 2016-06-03 05:40 +0200
    [tip:perf/core] perf unwind: Decouple thread->address_space on  libunwind tip-bot for He Kuang <tipbot@zytor.com> - 2016-06-08 10:50 +0200
  Re: [PATCH v9 00/14] Add support for remote unwind Jiri Olsa <jolsa@redhat.com> - 2016-06-03 09:10 +0200
    Re: [PATCH v9 00/14] Add support for remote unwind Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-06-03 21:50 +0200
      Re: [PATCH v9 00/14] Add support for remote unwind Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-06-03 23:10 +0200
        Re: [PATCH v9 00/14] Add support for remote unwind Hekuang <hekuang@huawei.com> - 2016-06-04 07:50 +0200
          Re: [PATCH v9 00/14] Add support for remote unwind Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-06-07 17:20 +0200
          Re: [PATCH v9 00/14] Add support for remote unwind Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-06-07 17:20 +0200
      Re: [PATCH v9 00/14] Add support for remote unwind Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-06-03 23:10 +0200
    Re: [PATCH v9 00/14] Add support for remote unwind Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-06-07 21:50 +0200
      Re: [PATCH v9 00/14] Add support for remote unwind Hekuang <hekuang@huawei.com> - 2016-06-08 09:40 +0200

csiph-web