diff options
author | Namhyung Kim <[email protected]> | 2013-11-26 14:56:28 +0900 |
---|---|---|
committer | Steven Rostedt <[email protected]> | 2014-01-02 16:17:39 -0500 |
commit | 34fee3a104cea1c4b658e51836e4bcd99bd76c70 (patch) | |
tree | 4b73d864e468c395f6c9d484bef5a8f138a02b5e /lib/memory-notifier-error-inject.c | |
parent | b26c74e116ad8433da22a72f03d148f88aab36e5 (diff) |
tracing/probes: Split [ku]probes_fetch_type_table
Use separate fetch_type_table for kprobes and uprobes. It currently
shares all fetch methods but some of them will be implemented
differently later.
This is not to break build if [ku]probes is configured alone (like
!CONFIG_KPROBE_EVENT and CONFIG_UPROBE_EVENT). So I added '__weak'
to the table declaration so that it can be safely omitted when it
configured out.
Acked-by: Oleg Nesterov <[email protected]>
Acked-by: Masami Hiramatsu <[email protected]>
Cc: Srikar Dronamraju <[email protected]>
Cc: zhangwei(Jovi) <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Signed-off-by: Namhyung Kim <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions