| /linux/tools/perf/util/ |
| H A D | debug.h | 19 #ifndef pr_fmt 20 #define pr_fmt(fmt) fmt macro 24 eprintf(0, verbose, pr_fmt(fmt), ##__VA_ARGS__) 26 eprintf(0, verbose, pr_fmt(fmt), ##__VA_ARGS__) 35 eprintf(0, verbose, pr_fmt(fmt), ##__VA_ARGS__) 37 eprintf(1, verbose, pr_fmt(fmt), ##__VA_ARGS__) 39 eprintf(n, verbose, pr_fmt(fmt), ##__VA_ARGS__) 40 #define pr_debug2(fmt, ...) pr_debugN(2, pr_fmt(fmt), ##__VA_ARGS__) 41 #define pr_debug3(fmt, ...) pr_debugN(3, pr_fmt(fmt), ##__VA_ARGS__) 42 #define pr_debug4(fmt, ...) pr_debugN(4, pr_fmt(fmt), ##__VA_ARGS__) [all …]
|
| /linux/tools/usb/usbip/libsrc/ |
| H A D | usbip_common.h | 62 #define pr_fmt(fmt) "%s: %s: " fmt "\n", PROGNAME macro 63 #define dbg_fmt(fmt) pr_fmt("%s:%d:[%s] " fmt), "debug", \ 69 syslog(LOG_ERR, pr_fmt(fmt), "error", ##args); \ 72 fprintf(stderr, pr_fmt(fmt), "error", ##args); \ 79 syslog(LOG_INFO, pr_fmt(fmt), "info", ##args); \ 82 fprintf(stderr, pr_fmt(fmt), "info", ##args); \
|
| /linux/scripts/dtc/ |
| H A D | of_unittest_expect | 243 $pr_fmt = "### dt-test ### "; 244 $exp_begin = "${pr_fmt}EXPECT \\\\ : "; 245 $exp_end = "${pr_fmt}EXPECT / : "; 246 $expnot_begin = "${pr_fmt}EXPECT_NOT \\\\ : "; 247 $expnot_end = "${pr_fmt}EXPECT_NOT / : "; 439 if (($line =~ /^${pr_fmt}start of unittest - you will see error messages$/) || 440 ($line =~ /^${pr_fmt}end of unittest - [0-9]+ passed, [0-9]+ failed$/ ) ) { 442 } elsif ($line =~ /^${pr_fmt}FAIL /) {
|
| /linux/fs/smb/server/ |
| H A D | glob.h | 29 #ifdef pr_fmt 30 #undef pr_fmt 34 #define pr_fmt(fmt) "ksmbd: " SUBMOD_NAME ": " fmt macro 36 #define pr_fmt(fmt) "ksmbd: " fmt macro
|
| /linux/fs/netfs/ |
| H A D | fscache_internal.h | 10 #ifdef pr_fmt 11 #undef pr_fmt 14 #define pr_fmt(fmt) "FS-Cache: " fmt macro
|
| /linux/security/landlock/ |
| H A D | common.h | 14 #ifdef pr_fmt 15 #undef pr_fmt 18 #define pr_fmt(fmt) LANDLOCK_NAME ": " fmt macro
|
| /linux/security/ipe/ |
| H A D | ipe.h | 9 #ifdef pr_fmt 10 #undef pr_fmt 12 #define pr_fmt(fmt) "ipe: " fmt macro
|
| /linux/drivers/gpu/drm/amd/pm/powerplay/inc/ |
| H A D | pp_debug.h | 27 #ifdef pr_fmt 28 #undef pr_fmt 31 #define pr_fmt(fmt) "amdgpu: [powerplay] " fmt macro
|
| /linux/fs/coda/ |
| H A D | coda_linux.h | 16 #ifdef pr_fmt 17 #undef pr_fmt 20 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt macro
|
| /linux/fs/efs/ |
| H A D | efs.h | 11 #ifdef pr_fmt 12 #undef pr_fmt 15 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt macro
|
| /linux/arch/mips/bcm47xx/ |
| H A D | bcm47xx_private.h | 5 #ifndef pr_fmt 6 #define pr_fmt(fmt) "bcm47xx: " fmt macro
|
| /linux/drivers/mtd/nand/raw/bcm47xxnflash/ |
| H A D | bcm47xxnflash.h | 5 #ifndef pr_fmt 6 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt macro
|
| /linux/drivers/media/pci/ttpci/ |
| H A D | budget.h | 6 #ifdef pr_fmt 7 #undef pr_fmt 10 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt macro
|
| /linux/net/tipc/ |
| H A D | core.h | 66 #ifdef pr_fmt 67 #undef pr_fmt 70 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt 69 #define pr_fmt( global() macro
|
| /linux/fs/qnx6/ |
| H A D | qnx6.h | 14 #ifdef pr_fmt 15 #undef pr_fmt 18 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt macro
|
| /linux/drivers/clk/ti/ |
| H A D | fixed-factor.c | 19 #undef pr_fmt 20 #define pr_fmt(fmt) "%s: " fmt, __func__ macro
|
| /linux/fs/ufs/ |
| H A D | ufs.h | 5 #ifdef pr_fmt 6 #undef pr_fmt 9 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt macro
|
| /linux/drivers/media/pci/bt8xx/ |
| H A D | btcx-risc.c | 13 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt macro 31 printk(KERN_DEBUG pr_fmt("%s: " fmt), \
|
| /linux/drivers/infiniband/ulp/rtrs/ |
| H A D | rtrs-srv-stats.c | 9 #undef pr_fmt 10 #define pr_fmt(fmt) KBUILD_MODNAME " L" __stringify(__LINE__) ": " fmt macro
|
| /linux/security/integrity/ |
| H A D | integrity.h | 9 #ifdef pr_fmt 10 #undef pr_fmt 13 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt macro
|
| /linux/fs/pstore/ |
| H A D | pmsg.c | 46 #undef pr_fmt 47 #define pr_fmt(fmt) PMSG_NAME ": " fmt macro
|
| /linux/drivers/mtd/parsers/ |
| H A D | scpart.c | 17 #ifdef pr_fmt 18 #undef pr_fmt 21 #define pr_fmt(fmt) MOD_NAME ": " fmt macro
|
| /linux/drivers/media/platform/mediatek/vcodec/common/ |
| H A D | mtk_vcodec_util.h | 31 #undef pr_fmt 32 #define pr_fmt(fmt) "%s(),%d: " fmt, __func__, __LINE__ macro
|
| /linux/Documentation/translations/zh_CN/core-api/ |
| H A D | printk-basics.rst | 94 除了比等效的printk()调用更简洁之外,它们还可以通过pr_fmt()宏为格式字符串使用一个通用 97 #define pr_fmt(fmt) "%s:%s: " fmt, KBUILD_MODNAME, __func__
|
| /linux/drivers/staging/media/av7110/ |
| H A D | av7110.h | 43 #ifdef pr_fmt 44 #undef pr_fmt 46 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt macro
|