Skip to contentSkip to conversation

hid-debug and CONFIG_DEBUG_FS

DISCUSSION Srinivas Pandruvada 2 participants 2 messages Aug 14, 2013 – Dec 2, 2013 HID

lore
Share & tools
lore
#0 lore raw

Hi Jiri,

I am implementing some hid driver which require relatively higher throughput. HID debug relies on CONFIG_DEBUG_FS, which is by default turned on by many distros. These debugs causes issues with the throughput, because each report and event is logged.

What do you think about using something other than CONFIG_DEBUG_FS for enabling HID debug (something like CONFIG_HID_DEBUG_FS..)?

Thanks,
Srinivas

#1 lore raw
Quoted 7 lines · Srinivas Pandruvada

I am implementing some hid driver which require relatively higher throughput. HID debug relies on CONFIG_DEBUG_FS, which is by default turned on by many distros. These debugs causes issues with the throughput, because each report and event is logged.

What do you think about using something other than CONFIG_DEBUG_FS for enabling HID debug (something like CONFIG_HID_DEBUG_FS..)?

Hi Srinivas,

do you encounter performance penalty even if there are no debugfs readers?

Signature · 2 lines
Jiri Kosina
SUSE Labs