* [f2fs-dev] [PATCH] fs: export some tracepoints for iotrace
@ 2025-07-29 16:03 Xiang Gao
2025-07-31 14:24 ` Christoph Hellwig
0 siblings, 1 reply; 2+ messages in thread
From: Xiang Gao @ 2025-07-29 16:03 UTC (permalink / raw)
To: James.Bottomley, martin.petersen, jaegeuk, chao
Cc: gaoxiang17, quic_nguyenb, bvanassche, linux-scsi, mani,
linux-kernel, linux-f2fs-devel, avri.altman, peter.wang,
alim.akhtar, beanhuo
From: gaoxiang17 <gaoxiang17@xiaomi.com>
Signed-off-by: gaoxiang17 <gaoxiang17@xiaomi.com>
---
drivers/ufs/core/ufshcd.c | 2 ++
fs/f2fs/checkpoint.c | 2 ++
fs/f2fs/file.c | 3 +++
fs/f2fs/gc.c | 3 +++
4 files changed, 10 insertions(+)
diff --git a/drivers/ufs/core/ufshcd.c b/drivers/ufs/core/ufshcd.c
index 50adfb8b335b..4035b958057e 100644
--- a/drivers/ufs/core/ufshcd.c
+++ b/drivers/ufs/core/ufshcd.c
@@ -41,6 +41,8 @@
#define CREATE_TRACE_POINTS
#include "ufs_trace.h"
+EXPORT_TRACEPOINT_SYMBOL_GPL(ufshcd_command);
+
#define UFSHCD_ENABLE_INTRS (UTP_TRANSFER_REQ_COMPL |\
UTP_TASK_REQ_COMPL |\
UFSHCD_ERROR_MASK)
diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c
index f149ec28aefd..83982977e9ec 100644
--- a/fs/f2fs/checkpoint.c
+++ b/fs/f2fs/checkpoint.c
@@ -21,6 +21,8 @@
#include "iostat.h"
#include <trace/events/f2fs.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;
diff --git a/fs/f2fs/file.c b/fs/f2fs/file.c
index c677230699fd..44e1294a3e69 100644
--- a/fs/f2fs/file.c
+++ b/fs/f2fs/file.c
@@ -35,6 +35,9 @@
#include <trace/events/f2fs.h>
#include <uapi/linux/f2fs.h>
+EXPORT_TRACEPOINT_SYMBOL_GPL(f2fs_sync_file_enter);
+EXPORT_TRACEPOINT_SYMBOL_GPL(f2fs_sync_file_exit);
+
static void f2fs_zero_post_eof_page(struct inode *inode, loff_t new_size)
{
loff_t old_size = i_size_read(inode);
diff --git a/fs/f2fs/gc.c b/fs/f2fs/gc.c
index 3cb5242f4ddf..ae153b41058d 100644
--- a/fs/f2fs/gc.c
+++ b/fs/f2fs/gc.c
@@ -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,
--
2.34.1
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [f2fs-dev] [PATCH] fs: export some tracepoints for iotrace
2025-07-29 16:03 [f2fs-dev] [PATCH] fs: export some tracepoints for iotrace Xiang Gao
@ 2025-07-31 14:24 ` Christoph Hellwig
0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2025-07-31 14:24 UTC (permalink / raw)
To: Xiang Gao
Cc: gaoxiang17, quic_nguyenb, bvanassche, martin.petersen, mani,
linux-kernel, linux-f2fs-devel, James.Bottomley, avri.altman,
peter.wang, alim.akhtar, linux-scsi, jaegeuk, beanhuo
On Wed, Jul 30, 2025 at 12:03:45AM +0800, Xiang Gao wrote:
> From: gaoxiang17 <gaoxiang17@xiaomi.com>
>
> Signed-off-by: gaoxiang17 <gaoxiang17@xiaomi.com>
Random exports without a user of even explanation are weird.
What up with Android folks that this kind of junk keeps getting sent
over and over?
_______________________________________________
Linux-f2fs-devel mailing list
Linux-f2fs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-07-31 14:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-29 16:03 [f2fs-dev] [PATCH] fs: export some tracepoints for iotrace Xiang Gao
2025-07-31 14:24 ` 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).