Re: [PATCH] tools/lib/traceevent: Rename struct cmdline to struct tep_cmdline

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

 



On Mon, 19 Nov 2018 12:53:08 +0000
Tzvetomir Stoyanov <tstoyanov@xxxxxxxxxx> wrote:

> @@ -250,9 +250,9 @@ int tep_pid_is_registered(struct tep_handle *pevent, int pid)
>  static int add_new_comm(struct tep_handle *pevent,
>  			const char *comm, int pid, bool override)
>  {
> -	struct cmdline *cmdlines = pevent->cmdlines;
> -	struct cmdline *cmdline;
> -	struct cmdline key;
> +	struct tep_cmdline *cmdlines = pevent->cmdlines;
> +	struct tep_cmdline *cmdline;
> +	struct tep_cmdline key;
>  	char *new_comm;
>  

Hi Tzvetomir,

This part failed for me, and I'm curious to know why. The code I have,
has the variable cmdline as "const struct cmdline", but the patch does
not. Was this added to a different change?

Thanks!

-- Steve



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

  Powered by Linux