* [PATCH] Export kmem tracepoints for use by kernel modules
@ 2014-04-22 14:22 Drew Richardson
2014-04-22 15:19 ` Christoph Hellwig
0 siblings, 1 reply; 2+ messages in thread
From: Drew Richardson @ 2014-04-22 14:22 UTC (permalink / raw)
To: Andrew Morton, Jerome Marchand, Joonsoo Kim, Michel Lespinasse,
Mikulas Patocka, William Roberts, Gideon Israel Dsouza, linux-mm,
linux-kernel, Pawel Moll
After commit de7b2973903c6cc50b31ee5682a69b2219b9919d ("tracepoint:
Use struct pointer instead of name hash for reg/unreg tracepoints"),
any tracepoints used in a kernel module must be exported.
Signed-off-by: Drew Richardson <drew.richardson@arm.com>
Acked-by: Pawel Moll <pawel.moll@arm.com>
---
mm/util.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/mm/util.c b/mm/util.c
index f380af7ea779..379e8db560b3 100644
--- a/mm/util.c
+++ b/mm/util.c
@@ -502,3 +502,9 @@ EXPORT_TRACEPOINT_SYMBOL(kmalloc_node);
EXPORT_TRACEPOINT_SYMBOL(kmem_cache_alloc_node);
EXPORT_TRACEPOINT_SYMBOL(kfree);
EXPORT_TRACEPOINT_SYMBOL(kmem_cache_free);
+EXPORT_TRACEPOINT_SYMBOL_GPL(mm_page_free);
+EXPORT_TRACEPOINT_SYMBOL_GPL(mm_page_free_batched);
+EXPORT_TRACEPOINT_SYMBOL_GPL(mm_page_alloc);
+EXPORT_TRACEPOINT_SYMBOL_GPL(mm_page_alloc_zone_locked);
+EXPORT_TRACEPOINT_SYMBOL_GPL(mm_page_pcpu_drain);
+EXPORT_TRACEPOINT_SYMBOL_GPL(mm_page_alloc_extfrag);
--
1.8.3.2
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Export kmem tracepoints for use by kernel modules
2014-04-22 14:22 [PATCH] Export kmem tracepoints for use by kernel modules Drew Richardson
@ 2014-04-22 15:19 ` Christoph Hellwig
0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2014-04-22 15:19 UTC (permalink / raw)
To: Drew Richardson
Cc: Andrew Morton, Jerome Marchand, Joonsoo Kim, Michel Lespinasse,
Mikulas Patocka, William Roberts, Gideon Israel Dsouza, linux-mm,
linux-kernel, Pawel Moll
On Tue, Apr 22, 2014 at 07:22:45AM -0700, Drew Richardson wrote:
> After commit de7b2973903c6cc50b31ee5682a69b2219b9919d ("tracepoint:
> Use struct pointer instead of name hash for reg/unreg tracepoints"),
> any tracepoints used in a kernel module must be exported.
But none of them are used by any in-tree module, so this isn't relevant.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-04-22 15:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-22 14:22 [PATCH] Export kmem tracepoints for use by kernel modules Drew Richardson
2014-04-22 15:19 ` Christoph Hellwig
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).