Re: [PATCH] trace-cmd: Implement warning() in the library

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon,  5 Apr 2021 12:33:57 +0300
"Tzvetomir Stoyanov (VMware)" <tz.stoyanov@xxxxxxxxx> wrote:

> The warning() function is used in a lot of places in the trace-cmd
> library, but there is no implementation. The function is implemented in
> the trace-cmd application. Added a weak implementation in the library, in
> case the function in not implemented in the application, using that
> library.
> 

Isn't the "warning()" function implemented in libtraceevent? That's where
it would be used as it is weak there.

But honestly, I think we should change the libtraceveent warning to
"tep_warning()" if we haven't already done so.

/me goes to look at the code.

-- Steve



[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux