projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
staging: brcm80211: remove counting of allocated sk_buff packets
[deliverable/linux.git]
/
kernel
/
module.c
diff --git
a/kernel/module.c
b/kernel/module.c
index 34e00b708fad2c79b260ab3d8d4cc199cece8eca..efa290ea94bf75d843a876a0a729bbd851088429 100644
(file)
--- a/
kernel/module.c
+++ b/
kernel/module.c
@@
-2460,9
+2460,9
@@
static void find_module_sections(struct module *mod, struct load_info *info)
#endif
#ifdef CONFIG_TRACEPOINTS
#endif
#ifdef CONFIG_TRACEPOINTS
- mod->tracepoints
= section_objs(info, "__tracepoint
s",
-
sizeof(*mod->tracepoint
s),
- &mod->num_tracepoints);
+ mod->tracepoints
_ptrs = section_objs(info, "__tracepoints_ptr
s",
+
sizeof(*mod->tracepoints_ptr
s),
+
&mod->num_tracepoints);
#endif
#ifdef HAVE_JUMP_LABEL
mod->jump_entries = section_objs(info, "__jump_table",
#endif
#ifdef HAVE_JUMP_LABEL
mod->jump_entries = section_objs(info, "__jump_table",
@@
-3393,7
+3393,7
@@
void module_layout(struct module *mod,
struct modversion_info *ver,
struct kernel_param *kp,
struct kernel_symbol *ks,
struct modversion_info *ver,
struct kernel_param *kp,
struct kernel_symbol *ks,
- struct tracepoint *tp)
+ struct tracepoint *
const *
tp)
{
}
EXPORT_SYMBOL(module_layout);
{
}
EXPORT_SYMBOL(module_layout);
@@
-3407,8
+3407,8
@@
void module_update_tracepoints(void)
mutex_lock(&module_mutex);
list_for_each_entry(mod, &modules, list)
if (!mod->taints)
mutex_lock(&module_mutex);
list_for_each_entry(mod, &modules, list)
if (!mod->taints)
- tracepoint_update_probe_range(mod->tracepoints,
- mod->tracepoints + mod->num_tracepoints);
+ tracepoint_update_probe_range(mod->tracepoints
_ptrs
,
+ mod->tracepoints
_ptrs
+ mod->num_tracepoints);
mutex_unlock(&module_mutex);
}
mutex_unlock(&module_mutex);
}
@@
-3432,8
+3432,8
@@
int module_get_iter_tracepoints(struct tracepoint_iter *iter)
else if (iter_mod > iter->module)
iter->tracepoint = NULL;
found = tracepoint_get_iter_range(&iter->tracepoint,
else if (iter_mod > iter->module)
iter->tracepoint = NULL;
found = tracepoint_get_iter_range(&iter->tracepoint,
- iter_mod->tracepoints,
- iter_mod->tracepoints
+ iter_mod->tracepoints
_ptrs
,
+ iter_mod->tracepoints
_ptrs
+ iter_mod->num_tracepoints);
if (found) {
iter->module = iter_mod;
+ iter_mod->num_tracepoints);
if (found) {
iter->module = iter_mod;
This page took
0.025243 seconds
and
5
git commands to generate.