Commit 6b1d174b authored by Committed by Linus TorvaldsBrowse files
ratelimit: extend to print suppressed messages on release
Extend the ratelimiting facility to print the amount of suppressed lines when it is being released. This use case is aimed at short-termed, burst-like users for which we want to output the suppressed lines stats only once, after it has been disposed of. For an example, see /dev/kmsg usage in a follow-on patch. Also, change the printk() line we issue on release to not use "callbacks" as it is misleading: we're not suppressing callbacks but printk() calls. This has been separated from a previous patch by Linus. Link: http://firstname.lastname@example.org Signed-off-by: Borislav Petkov <email@example.com> Cc: Dave Young <firstname.lastname@example.org> Cc: Franck Bui <email@example.com> Cc: Greg Kroah-Hartman <firstname.lastname@example.org> Cc: Ingo Molnar <email@example.com> Cc: Linus Torvalds <firstname.lastname@example.org> Cc: Peter Zijlstra <email@example.com> Cc: Steven Rostedt <firstname.lastname@example.org> Cc: Uwe Kleine-König <u.kleine-koenig@pengu...