Re: [PATCH 1/2] libtraceevent: Add boiler-plate code for cpumask types

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

 



On 09/11/22 19:06, Steven Rostedt wrote:
> On Tue, 18 Oct 2022 16:16:29 +0100
> Valentin Schneider <vschneid@xxxxxxxxxx> wrote:
>
>> @@ -3484,6 +3498,11 @@ process_function(struct tep_event *event, struct tep_print_arg *arg,
>>              free_token(token);
>>              return process_bitmask(event, arg, tok);
>>      }
>> +	if (strcmp(token, "__get_cpumask") == 0 ||
>> +	    strcmp(token, "__get_cpumask") == 0) {
>
> Hmm, not sure what the difference between the above two are.
>

One makes sense, the other doesn't :-)

That's a copy/paste fail, the second one wants to be "__get_rel_cpumask"

> -- Steve
>
>> +		free_token(token);
>> +		return process_cpumask(event, arg, tok);
>> +	}
>>      if (strcmp(token, "__get_dynamic_array") == 0 ||
>>          strcmp(token, "__get_rel_dynamic_array") == 0 ||
>>          strcmp(token, "__get_sockaddr") == 0 ||




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

  Powered by Linux