Re: [RFC][PATCH] libtraceeval: Add size checks to insert and query functions

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

 



On Tue, 15 Aug 2023 20:02:34 -0400
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> --- a/samples/task-eval.c
> +++ b/samples/task-eval.c
> @@ -814,7 +814,7 @@ static void display_processes(struct traceeval *teval,
>  		struct process_data *pdata = NULL;
>  		const char *comm = keys[0].cstring;
>  
> -		ret = traceeval_query(teval_data, keys, &results);
> +		ret = traceeval_query(teval_data, keys, 2, &results);
>  		if (ret < 1)
>  			continue; /* ?? */
>  

That should be:

		traceeval_query_size(...)

I removed it to get the warning to copy into the change log, and ended up
not putting it back :-p

-- Steve



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

  Powered by Linux