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


Groups > linux.kernel > #1643087 > unrolled thread

Ftrace Data Export

Started byFelipe Balbi <felipe.balbi@linux.intel.com>
First post2017-05-17 10:10 +0200
Last post2017-05-17 14:50 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  Ftrace Data Export Felipe Balbi <felipe.balbi@linux.intel.com> - 2017-05-17 10:10 +0200
    Re: Ftrace Data Export Chunyan Zhang <zhang.chunyan@linaro.org> - 2017-05-17 14:50 +0200

#1643087 — Ftrace Data Export

FromFelipe Balbi <felipe.balbi@linux.intel.com>
Date2017-05-17 10:10 +0200
SubjectFtrace Data Export
Message-ID<tI2bU-xt-5@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

Hi Chunyan,

When you wrote your patchset to provide ftrace exports, why did you
choose to export only function trace? Why not tracepoints,
function_graph, hwlat, irqsoff and all the other possibilities?

Is there an underlying reason why you chose to export only function
trace?

Thanks

-- 
balbi

[toc] | [next] | [standalone]


#1643338

FromChunyan Zhang <zhang.chunyan@linaro.org>
Date2017-05-17 14:50 +0200
Message-ID<tI6yT-392-33@gated-at.bofh.it>
In reply to#1643087
Hi Felipe,

On 17 May 2017 at 16:08, Felipe Balbi <felipe.balbi@linux.intel.com> wrote:
>
> Hi Chunyan,
>
> When you wrote your patchset to provide ftrace exports, why did you
> choose to export only function trace? Why not tracepoints,

In fact, I tried submitting patches[1] to do exporting tracepoint to
STM, but Ingo and Steven commented that would introduce certain amount
of overhead, and that was not acceptable. I also used
'benchmark_event' to see the additional overhead caused by printing
tracepoint message to STM.  I cannot remember the exact data though,
the increased time consuming indeed was non-ignorable.

So at the end I gave up that idea, and later on switched to the way of
implementation you see in the kernel now.

> function_graph, hwlat, irqsoff and all the other possibilities?

I haven't thought about these clear enough :)
Any suggestion?

Thanks,
Chunyan

[1] https://lkml.org/lkml/2015/7/7/230

>
> Is there an underlying reason why you chose to export only function
> trace?
>
> Thanks
>
> --
> balbi

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web