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


Groups > linux.kernel > #1186419 > unrolled thread

Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event

Started byAlexei Starovoitov <ast@plumgrid.com>
First post2015-07-17 06:20 +0200
Last post2015-07-17 06:20 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to  perf event Alexei Starovoitov <ast@plumgrid.com> - 2015-07-17 06:20 +0200

#1186419 — Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event

FromAlexei Starovoitov <ast@plumgrid.com>
Date2015-07-17 06:20 +0200
SubjectRe: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event
Message-ID<pN5hU-2OF-5@gated-at.bofh.it>
On 7/14/15 4:54 AM, He Kuang wrote:
>> I'm not sure llvm generates proper dwarf along with bpf code (I didn't
>> test that part. If there are any issues they should be fixable. If you
>> can prepapre a patch for llvm that would be even better :)
>>
>
> I found objdump can't get dwarf info from bpf object file:
>
>    $ objdump --dwarf=info bpf.o
>    bpf.o: file format elf64-little
>
>    $ readelf -a bpf.o |grep debug_info
>    <EMPTY>

yeah. looks like this part is not working.
Interesting that when I do: clang -O2 -target bpf a.c -g -S
there is some minimal debug info in the .s, but .o lacks
debuginfo completely. Digging further...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web