Re: [PATCH 1/1] driver-core: Shut up dev_dbg_reatelimited() without DEBUG

2012-08-23 Thread Hin-Tak Leung
--- On Wed, 22/8/12, Antti Palosaari wrote: > On 08/22/2012 04:57 PM, Hin-Tak Leung > wrote: > > Antti Palosaari wrote: > >> Hello Hiroshi, > >> > >> On 08/21/2012 10:02 AM, Hiroshi Doyu wrote: > >>> Antti Palosaari > wrote @ Mon, 20 Aug 2012 23:29:34 +0200: > >>> > On 08/20/2012 02:14 PM,

Re: [PATCH 1/1] driver-core: Shut up dev_dbg_reatelimited() without DEBUG

2012-08-22 Thread Antti Palosaari
On 08/22/2012 04:57 PM, Hin-Tak Leung wrote: Antti Palosaari wrote: Hello Hiroshi, On 08/21/2012 10:02 AM, Hiroshi Doyu wrote: Antti Palosaari wrote @ Mon, 20 Aug 2012 23:29:34 +0200: On 08/20/2012 02:14 PM, Hiroshi Doyu wrote: Hi Antti, Antti Palosaari wrote @ Sat, 18 Aug 2012 02:11:56

Re: [PATCH 1/1] driver-core: Shut up dev_dbg_reatelimited() without DEBUG

2012-08-22 Thread Hin-Tak Leung
Antti Palosaari wrote: Hello Hiroshi, On 08/21/2012 10:02 AM, Hiroshi Doyu wrote: Antti Palosaari wrote @ Mon, 20 Aug 2012 23:29:34 +0200: On 08/20/2012 02:14 PM, Hiroshi Doyu wrote: Hi Antti, Antti Palosaari wrote @ Sat, 18 Aug 2012 02:11:56 +0200: On 08/17/2012 09:04 AM, Hiroshi Doyu

Re: [PATCH 1/1] driver-core: Shut up dev_dbg_reatelimited() without DEBUG

2012-08-21 Thread Antti Palosaari
Hello Hiroshi, On 08/21/2012 10:02 AM, Hiroshi Doyu wrote: Antti Palosaari wrote @ Mon, 20 Aug 2012 23:29:34 +0200: On 08/20/2012 02:14 PM, Hiroshi Doyu wrote: Hi Antti, Antti Palosaari wrote @ Sat, 18 Aug 2012 02:11:56 +0200: On 08/17/2012 09:04 AM, Hiroshi Doyu wrote: dev_dbg_reatelim

Re: [PATCH 1/1] driver-core: Shut up dev_dbg_reatelimited() without DEBUG

2012-08-21 Thread Hiroshi Doyu
Antti Palosaari wrote @ Mon, 20 Aug 2012 23:29:34 +0200: > On 08/20/2012 02:14 PM, Hiroshi Doyu wrote: > > Hi Antti, > > > > Antti Palosaari wrote @ Sat, 18 Aug 2012 02:11:56 +0200: > > > >> On 08/17/2012 09:04 AM, Hiroshi Doyu wrote: > >>> dev_dbg_reatelimited() without DEBUG printed "217078 ca

Re: [PATCH 1/1] driver-core: Shut up dev_dbg_reatelimited() without DEBUG

2012-08-20 Thread Antti Palosaari
CONFIG_DYNAMIC_DEBUG would be appreciated. Is it Joe Perches who has added these Kernel dynamic pr_ and dev_ debugging? Maybe he has proper solution that fixes ratelimit for dynamic debugging too. regards Antti From 5b33751f89c2e91ee734325e6d73ed7e1c6d4b02 Mon Sep 17 00:00:00 2001 From: Hiroshi Doyu Date: Mon, 20 Aug 201

Re: [PATCH 1/1] driver-core: Shut up dev_dbg_reatelimited() without DEBUG

2012-08-20 Thread Hiroshi Doyu
ernel/debug/dynamic_debug/control" $ rmmod test $ dmesg ... <6>[ 82.715925] test module loaded! <6>[ 82.795642] dynamic_debug:ddebug_exec_queries: processed 1 queries, with 1 matches, 0 errs <4>[ 88.892096] print_dev_dbg_ratelimited: 90 callbacks suppressed <6>[ 88.89

Re: [PATCH 1/1] driver-core: Shut up dev_dbg_reatelimited() without DEBUG

2012-08-17 Thread Antti Palosaari
On 08/17/2012 09:04 AM, Hiroshi Doyu wrote: dev_dbg_reatelimited() without DEBUG printed "217078 callbacks suppressed". This shouldn't print anything without DEBUG. Signed-off-by: Hiroshi Doyu Reported-by: Antti Palosaari --- include/linux/device.h |6 +- 1 files changed, 5 insertio

[PATCH 1/1] driver-core: Shut up dev_dbg_reatelimited() without DEBUG

2012-08-16 Thread Hiroshi Doyu
dev_dbg_reatelimited() without DEBUG printed "217078 callbacks suppressed". This shouldn't print anything without DEBUG. Signed-off-by: Hiroshi Doyu Reported-by: Antti Palosaari --- include/linux/device.h |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/include/linu