Messages in this thread | | | From | Andi Kleen <> | Subject | Re: [PATCH] perf: Introduce function to report unsupported syscall attribute flags | Date | Wed, 12 Sep 2012 07:26:38 -0700 |
| |
Peter Zijlstra <peterz@infradead.org> writes:
> On Wed, 2012-09-12 at 13:01 +0200, Robert Richter wrote: >> + if (notsup) >> + pr_warn("perf: unsupported attribute flags: %016llx\n", notsup); > > This is a dmesg DoS.. > > I'm also not sure dmesg is the right way.. could we not somehow change > the attrs to provide better diagnostic?
Have a output argument for a string, that is then printed by the user tool?
I agree it's a problem today, i usually have to resort to ftrace to figure out what'swrong.
-Andi
-- ak@linux.intel.com -- Speaking for myself only
| |