ANDROID: vendor_hooks: export tracepoint symbols
export trace_f2fs_gc_begin trace_f2fs_gc_end trace_f2fs_write_checkpoint trace_f2fs_sync_file_enter trace_f2fs_sync_file_exit trace_ufshcd_command so we can hook it in our ko to capture some ioinfo. Bug: 426113126 Change-Id: Ie141cbbf40be6bf94150f6f563d149b152117336 Signed-off-by: lijiameng3 <lijiameng3@xiaomi.corp-partner.google.com>
This commit is contained in:
@@ -45,6 +45,8 @@
|
||||
#undef CREATE_TRACE_POINTS
|
||||
#include <trace/hooks/ufshcd.h>
|
||||
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(ufshcd_command);
|
||||
|
||||
#define UFSHCD_ENABLE_INTRS (UTP_TRANSFER_REQ_COMPL |\
|
||||
UTP_TASK_REQ_COMPL |\
|
||||
UFSHCD_ERROR_MASK)
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
#include <trace/events/f2fs.h>
|
||||
#include <trace/hooks/fs.h>
|
||||
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(f2fs_write_checkpoint);
|
||||
|
||||
#define DEFAULT_CHECKPOINT_IOPRIO (IOPRIO_PRIO_VALUE(IOPRIO_CLASS_RT, 3))
|
||||
|
||||
static struct kmem_cache *ino_entry_slab;
|
||||
|
||||
@@ -38,6 +38,9 @@
|
||||
#undef CREATE_TRACE_POINTS
|
||||
#include <trace/hooks/fs.h>
|
||||
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(f2fs_sync_file_enter);
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(f2fs_sync_file_exit);
|
||||
|
||||
vm_fault_t f2fs_filemap_fault(struct vm_fault *vmf)
|
||||
{
|
||||
struct inode *inode = file_inode(vmf->vma->vm_file);
|
||||
|
||||
@@ -23,6 +23,9 @@
|
||||
#include "iostat.h"
|
||||
#include <trace/events/f2fs.h>
|
||||
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(f2fs_gc_begin);
|
||||
EXPORT_TRACEPOINT_SYMBOL_GPL(f2fs_gc_end);
|
||||
|
||||
static struct kmem_cache *victim_entry_slab;
|
||||
|
||||
static unsigned int count_bits(const unsigned long *addr,
|
||||
|
||||
Reference in New Issue
Block a user