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


Groups > linux.kernel > #1432439 > unrolled thread

Re: [ftrace] kernel panics during my attempt to use ftrace

Started byNamhyung Kim <namhyung@gmail.com>
First post2016-06-28 05:50 +0200
Last post2016-06-28 09:20 +0200
Articles 2 — 2 participants

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: [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

#1432439 — Re: [ftrace] kernel panics during my attempt to use ftrace

FromNamhyung Kim <namhyung@gmail.com>
Date2016-06-28 05:50 +0200
SubjectRe: [ftrace] kernel panics during my attempt to use ftrace
Message-ID<rOSc9-1mH-3@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1432563

FromEnrico Mioso <mrkiko.rs@gmail.com>
Date2016-06-28 09:20 +0200
Message-ID<rOVtn-3I0-3@gated-at.bofh.it>
In reply to#1432439
Thank you very much for the report.
I'll let you know guys, once I am able to get to work on this again , at least I'll try.
Thank you very much anyway.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web