Re: [RESEND PATCH] perf probe: Extend the quiet option

From: Aaron Tomlin
Date: Sat Jun 21 2025 - 22:48:59 EST


On Mon, Jun 09, 2025 at 09:59:14PM -0700, Namhyung Kim wrote:
> Hello,

Hi Namhyung,

> Sorry for the long delay.

No problem.

> On Sun, May 04, 2025 at 11:43:51AM +0100, Aaron Tomlin wrote:
> > To provide a consistent and complete quiet mode, this patch expands the
> > scope of the [-q|--quiet] option to suppress all informational messages,
> > including those indicating successful event creation, in addition to the
> > currently suppressed warnings and messages. For example:
> >
> > ❯ sudo ./perf probe --quiet --add proc_sys_open
> > ❯ echo $?
> > 0
>
> I don't think this change is needed. I also see no messages before this
> change.

Fair enough.

> Indeed, using -q/--quiet option makes verbose to be -1 which disables
> any pr_info() messages.

Understood.


Regards,

--
Aaron Tomlin