Skip to contentSkip to conversation

uprobe support mix of ftrace and perf

DISCUSSION Masami Hiramatsu 2 participants 3 messages Nov 20, 2018 – Nov 26, 2018

lore
Share & tools
lore
#0 lore raw

Hello Oleg,

I have a question about the (revert) commit 48212542067a ("tracing/uprobes: Revert "Support mix of ftrace and perf""). I found this limitation still exists on uprobe events.

Would you have any plan or idea to fix this issue? I thought this revert patch was a tentative one, and should be fixed afterwards.

Since kprobe events already supported the mix of ftrace and perf, user may confuse why they can not use the uprobe event if it is used by ftrace. (perf probe treats both events transparently, and ftrace event interface too.)

Thank you,

Signature · 1 line
Masami Hiramatsu <[email protected]>
#1 lore raw

Hi Masami,

Quoted 6 lines · Masami Hiramatsu

Hello Oleg,

I have a question about the (revert) commit 48212542067a ("tracing/uprobes: Revert "Support mix of ftrace and perf""). I found this limitation still exists on uprobe events.

Yes...

Quoted 2 lines

Would you have any plan or idea to fix this issue? I thought this revert patch was a tentative one, and should be fixed afterwards.

To be honest, I was going to fix this "soon" many years ago, but today I simply can't recall how this code actually works and what exactly we need to do to support ftrace/perf at the same time...

I'll try to read this code later, but I can't promise anything :/

Oleg.

#2 lore raw

Hi Oleg,

Quoted 12 lines · On Thu, 22 Nov 2018 15:32:10 +0100 Oleg Nesterov <[email protected]> wrote:

Hi Masami,

Quoted 6 lines · Masami Hiramatsu

Hello Oleg,

I have a question about the (revert) commit 48212542067a ("tracing/uprobes: Revert "Support mix of ftrace and perf""). I found this limitation still exists on uprobe events.

Yes...

Quoted 8 lines
Quoted 2 lines

Would you have any plan or idea to fix this issue? I thought this revert patch was a tentative one, and should be fixed afterwards.

To be honest, I was going to fix this "soon" many years ago, but today I simply can't recall how this code actually works and what exactly we need to do to support ftrace/perf at the same time...

I'll try to read this code later, but I can't promise anything :/

I understand, it may take a while... no need to promise :). I'll also look into it.

Thank you,

Quoted 3 lines

Oleg.

Signature · 1 line
Masami Hiramatsu <[email protected]>