Re: [PATCH v5 01/25] trace-cmd library: Define trace file version 7

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

 



On Thu, 11 Nov 2021 17:08:40 +0200
"Tzvetomir Stoyanov (VMware)" <tz.stoyanov@xxxxxxxxx> wrote:

>  
>  static void add_reset_file(const char *file, const char *val, int prio)
> @@ -5974,6 +5975,7 @@ static void init_common_record_context(struct common_record_context *ctx,
>  	ctx->instance = &top_instance;
>  	ctx->curr_cmd = curr_cmd;
>  	local_cpu_count = tracecmd_count_cpus();
> +	ctx->file_version = FILE_VERSION_DEFAULT;

This should not be exposed to the users of the API.

-- Steve

>  	init_top_instance();
>  }
>  




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

  Powered by Linux