ANDROID: TRACE: mm: export mm_filemap_* for calling in ko

In certain scenarios, we want to track the file names associated with
file pages in user version. So we want to export this tracepoint for
calling in ko.

Bug: 327557147
Bug: 399801543

Change-Id: I6b9a81a4ebe1f582fdc4b3967c590f5ba450d61e
Signed-off-by: dongliang.cui <dongliang.cui@unisoc.com>
Signed-off-by: Cixi Geng <cixi.geng1@unisoc.com>
This commit is contained in:
dongliang.cui
2024-02-29 18:10:08 +08:00
committed by Treehugger Robot
parent 31b87efd77
commit 7d22ae2248
+4
View File
@@ -129,6 +129,10 @@
* ->private_lock (zap_pte_range->block_dirty_folio)
*/
/* Export tracepoints that act as a bare tracehook */
EXPORT_TRACEPOINT_SYMBOL_GPL(mm_filemap_delete_from_page_cache);
EXPORT_TRACEPOINT_SYMBOL_GPL(mm_filemap_add_to_page_cache);
static void mapping_set_update(struct xa_state *xas,
struct address_space *mapping)
{