Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1432439
| From | Namhyung Kim <namhyung@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [ftrace] kernel panics during my attempt to use ftrace |
| Date | 2016-06-28 05:50 +0200 |
| Message-ID | <rOSc9-1mH-3@gated-at.bofh.it> (permalink) |
| References | <rMtrz-5YF-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hello,
On Tue, Jun 21, 2016 at 9:53 PM, Enrico Mioso <mrkiko.rs@gmail.com> wrote:
> Hello guys.
>
> First of all - thank you for your great work in ftrace, and in general in
> the Linux tracing infrastructure. I am a newbie: so I am not able to use it
> at it's full power, still I find it's capabilities impressive.
>
> I am asking for help, since I am encountering some problems in using ftrace.
> I am trying to come up with a solution to trace a specific workload (a
> program): to understand what are the functions the kernel spends most of his
> time in.
> To do so, I inspired myself to some code I found around (I can mention it if
> needed). I took free inspiration: so my editing may be very very wrong.
> When I run this script, the kernel panics. the output is below. the kernel
> is Ubuntu 16.04 stock, running in a qemu virtual machine (using kvm).
Please check commit 8329e818f149 ("ftrace/x86: Set ftrace_stub to weak
to prevent gcc from using short jumps to it") The ubuntu 16.04 seems to
have binutils 2.26 which is same version that caused trouble in my system.
Thanks,
Namhyung
> Any help would be greatly apreciated. Thank you very much guys.
> Fort any needed infos, contact me.
> Enrico
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
Re: [ftrace] kernel panics during my attempt to use ftrace Namhyung Kim <namhyung@gmail.com> - 2016-06-28 05:50 +0200 Re: [ftrace] kernel panics during my attempt to use ftrace Enrico Mioso <mrkiko.rs@gmail.com> - 2016-06-28 09:20 +0200
csiph-web