Re: [ftrace/kprobes PATCH 3/3] tracing/kprobes: Allow kprobe-events to record module symbol

2018-10-05 Thread Masami Hiramatsu
On Wed, 3 Oct 2018 21:11:28 -0400 Steven Rostedt wrote: > On Wed, 3 Oct 2018 15:12:27 -0400 > Steven Rostedt wrote: > > > On Wed, 29 Aug 2018 01:18:43 +0900 > > Masami Hiramatsu wrote: > > > > > Allow kprobe-events to record module symbols. > > > > > > Since data symbols in a non-loaded

Re: [ftrace/kprobes PATCH 3/3] tracing/kprobes: Allow kprobe-events to record module symbol

2018-10-05 Thread Masami Hiramatsu
On Wed, 3 Oct 2018 21:11:28 -0400 Steven Rostedt wrote: > On Wed, 3 Oct 2018 15:12:27 -0400 > Steven Rostedt wrote: > > > On Wed, 29 Aug 2018 01:18:43 +0900 > > Masami Hiramatsu wrote: > > > > > Allow kprobe-events to record module symbols. > > > > > > Since data symbols in a non-loaded

Re: [ftrace/kprobes PATCH 3/3] tracing/kprobes: Allow kprobe-events to record module symbol

2018-10-03 Thread Steven Rostedt
On Wed, 3 Oct 2018 15:12:27 -0400 Steven Rostedt wrote: > On Wed, 29 Aug 2018 01:18:43 +0900 > Masami Hiramatsu wrote: > > > Allow kprobe-events to record module symbols. > > > > Since data symbols in a non-loaded module doesn't exist, it fails to > > define such symbol as an argument of

Re: [ftrace/kprobes PATCH 3/3] tracing/kprobes: Allow kprobe-events to record module symbol

2018-10-03 Thread Steven Rostedt
On Wed, 3 Oct 2018 15:12:27 -0400 Steven Rostedt wrote: > On Wed, 29 Aug 2018 01:18:43 +0900 > Masami Hiramatsu wrote: > > > Allow kprobe-events to record module symbols. > > > > Since data symbols in a non-loaded module doesn't exist, it fails to > > define such symbol as an argument of

Re: [ftrace/kprobes PATCH 3/3] tracing/kprobes: Allow kprobe-events to record module symbol

2018-10-03 Thread Steven Rostedt
On Wed, 29 Aug 2018 01:18:43 +0900 Masami Hiramatsu wrote: > Allow kprobe-events to record module symbols. > > Since data symbols in a non-loaded module doesn't exist, it fails to > define such symbol as an argument of kprobe-event. But if the kprobe > event is defined on that module, we can

Re: [ftrace/kprobes PATCH 3/3] tracing/kprobes: Allow kprobe-events to record module symbol

2018-10-03 Thread Steven Rostedt
On Wed, 29 Aug 2018 01:18:43 +0900 Masami Hiramatsu wrote: > Allow kprobe-events to record module symbols. > > Since data symbols in a non-loaded module doesn't exist, it fails to > define such symbol as an argument of kprobe-event. But if the kprobe > event is defined on that module, we can

[ftrace/kprobes PATCH 3/3] tracing/kprobes: Allow kprobe-events to record module symbol

2018-08-28 Thread Masami Hiramatsu
Allow kprobe-events to record module symbols. Since data symbols in a non-loaded module doesn't exist, it fails to define such symbol as an argument of kprobe-event. But if the kprobe event is defined on that module, we can defer to resolve the symbol address. Note that if given symbol is not

[ftrace/kprobes PATCH 3/3] tracing/kprobes: Allow kprobe-events to record module symbol

2018-08-28 Thread Masami Hiramatsu
Allow kprobe-events to record module symbols. Since data symbols in a non-loaded module doesn't exist, it fails to define such symbol as an argument of kprobe-event. But if the kprobe event is defined on that module, we can defer to resolve the symbol address. Note that if given symbol is not