Skip to contentSkip to conversation

tracing/uprobes: Support multibuffer and soft-mode disabling

PATCH Superseded zhangwei(Jovi) 1 participant 1 message Jul 4, 2013

v5 of 6 Superseded Latest is v6 →

lore
Share & tools
lore
#0 lore raw

v5 cover tracing/uprobes: Support multibuffer and soft-mode disabling

This is fifth version of uprobes-based dynamic events multibuffer and soft-mode disabling support work.

v4 -> v5 (suggested by Oleg and Masami):
- code simply in probe_event_enable
- use list_del to replace list_del_rcu in probe_event_enable
- don't remove is_trace_uprobe_enabled() checking in probe_event_disable (I will check this later to figure out is it safe to remove that checking)

v3 -> v4:
- use "bool enabled = is_trace_uprobe_enabled(tu);", suggested by Oleg.
- use list_add_tail_rcu instead of list_add_rcu, suggested by Masami.
- fix the error handling in probe_event_enable, found by Srikar.

v3:
- separate soft-mode disabling patch from multibuffer support patch.
- fix some comments
- coding style trivial
- fix flags race in probe_event_disable

zhangwei(Jovi) (2):
tracing/uprobes: Support ftrace_event_file base multibuffer tracing/uprobes: Support soft-mode disabling

 kernel/trace/trace_uprobe.c |  122 ++++++++++++++++++++++++++++++++++++-------
 1 file changed, 103 insertions(+), 19 deletions(-)
Signature · 1 line
1.7.9.7