lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140422142244.GA21121@dreric01-Precision-T1600>
Date:	Tue, 22 Apr 2014 07:22:45 -0700
From:	Drew Richardson <drew.richardson@....com>
To:	Andrew Morton <akpm@...ux-foundation.org>,
	Jerome Marchand <jmarchan@...hat.com>,
	Joonsoo Kim <iamjoonsoo.kim@....com>,
	Michel Lespinasse <walken@...gle.com>,
	Mikulas Patocka <mpatocka@...hat.com>,
	William Roberts <bill.c.roberts@...il.com>,
	Gideon Israel Dsouza <gidisrael@...il.com>,
	linux-mm@...ck.org, linux-kernel@...r.kernel.org,
	Pawel Moll <pawel.moll@....com>
Subject: [PATCH] Export kmem tracepoints for use by kernel modules

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@....com>
Acked-by: Pawel Moll <pawel.moll@....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 from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ