* [chao:bugfix/common 15/16] include/trace/events/f2fs.h:2738:19: error: call to undeclared function 'get_pages'; ISO C99 and later do not support implicit function declarations
@ 2026-10-24 1:41 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-10-24 1:41 UTC (permalink / raw)
To: Chao Yu; +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git bugfix/common
head: 4e2ecc51889d46d6803c200c9d70c38d5049cb59
commit: 25f24ed74ab3a7d7b67e2e82fe504d19295f2421 [15/16] f2fs: introduce trace_f2fs_enable_checkpoint()
config: x86_64-kexec (https://download.01.org/0day-ci/archive/20261024/202610240934.1IgSWaSw-lkp@intel.com/config)
compiler: clang version 22.1.8 (https://github.com/llvm/llvm-project ca7933e47d3a3451d81e72ac174dcb5aa28b59d1)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261024/202610240934.1IgSWaSw-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202610240934.1IgSWaSw-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from fs/f2fs/super.c:42:
In file included from include/trace/events/f2fs.h:2761:
In file included from include/trace/define_trace.h:132:
In file included from include/trace/trace_events.h:489:
>> include/trace/events/f2fs.h:2738:19: error: call to undeclared function 'get_pages'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
2738 | __entry->meta = get_pages(sbi, F2FS_DIRTY_META);
| ^
include/trace/events/f2fs.h:2738:19: note: did you mean 'get_page'?
include/linux/mm.h:2125:20: note: 'get_page' declared here
2125 | static inline void get_page(struct page *page)
| ^
In file included from fs/f2fs/super.c:42:
In file included from include/trace/events/f2fs.h:2761:
In file included from include/trace/define_trace.h:133:
In file included from include/trace/perf.h:110:
>> include/trace/events/f2fs.h:2738:19: error: call to undeclared function 'get_pages'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
2738 | __entry->meta = get_pages(sbi, F2FS_DIRTY_META);
| ^
2 errors generated.
vim +/get_pages +2738 include/trace/events/f2fs.h
2719
2720 TP_PROTO(struct f2fs_sb_info *sbi, u16 phase),
2721
2722 TP_ARGS(sbi, phase),
2723
2724 TP_STRUCT__entry(
2725 __field(dev_t, dev)
2726 __field(u16, phase)
2727 __field(long long, meta)
2728 __field(long long, imeta)
2729 __field(long long, nodes)
2730 __field(long long, data)
2731 __field(long long, dents)
2732 __field(long long, qdata)
2733 ),
2734
2735 TP_fast_assign(
2736 __entry->dev = sbi->sb->s_dev;
2737 __entry->phase = phase;
> 2738 __entry->meta = get_pages(sbi, F2FS_DIRTY_META);
2739 __entry->imeta = get_pages(sbi, F2FS_DIRTY_IMETA);
2740 __entry->nodes = get_pages(sbi, F2FS_DIRTY_NODES);
2741 __entry->data = get_pages(sbi, F2FS_DIRTY_DATA);
2742 __entry->dents = get_pages(sbi, F2FS_DIRTY_DENTS);
2743 __entry->qdata = get_pages(sbi, F2FS_DIRTY_QDATA);
2744 ),
2745
2746 TP_printk("dev = (%d,%d), phase: %s, meta: %lld, imeta: %lld, "
2747 "nodes: %lld, data: %lld, dents: %lld, qdata: %lld",
2748 show_dev(__entry->dev),
2749 show_enable_cp_phase(__entry->phase),
2750 __entry->meta,
2751 __entry->imeta,
2752 __entry->nodes,
2753 __entry->data,
2754 __entry->dents,
2755 __entry->qdata)
2756 );
2757
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-24 1:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-24 1:41 [chao:bugfix/common 15/16] include/trace/events/f2fs.h:2738:19: error: call to undeclared function 'get_pages'; ISO C99 and later do not support implicit function declarations kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox