Re: [PATCH v2 49/87] trace-cmd library: Handle the extended DONE option

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

 



On Thu, 29 Jul 2021 08:09:21 +0300
"Tzvetomir Stoyanov (VMware)" <tz.stoyanov@xxxxxxxxx> wrote:
						\
> @@ -3159,6 +3184,12 @@ static int handle_options(struct tracecmd_input *handle)
>  				break;
>  			add_section(handle, option, -1, tep_read_number(handle->pevent, buf, 8), 0);
>  			break;
> +		case TRACECMD_OPTION_DONE:
> +			if (comperss)

s/comperss/compress/

And it needs to be fixed where it was introduced.


-- Steve

> +				in_uncompress_reset(handle);
> +			ret = handle_option_done(handle, buf, size);
> +			free(buf);
> +			return ret;
>  		default:
>  			tracecmd_warning("unknown option %d", option);
>  			break;
> diff --git a/lib/trace-cmd/trace-output.c b/lib/trace-cmd/trace-output.c
> index 87bbcf39..01c1a4f5 100644



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

  Powered by Linux