Re: [PATCH 2/3] libtracefs: Document uprobes APIs

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

 



On Mon, 28 Mar 2022 12:03:46 +0300
"Tzvetomir Stoyanov (VMware)" <tz.stoyanov@xxxxxxxxx> wrote:

> +	do {
> +		tracefs_load_cmdlines(NULL, tep);
> +		tracefs_iterate_raw_events(tep, instance, NULL, 0, callback, NULL);
> +	} while (waitpid(pid, NULL, WNOHANG) != pid);
> +
> +	/* disable and destroy the events */
> +	tracefs_dynevent_destroy(uprobe, true);
> +	tracefs_dynevent_destroy(uretprobe, true);
> +	tracefs_dynevent_free(uprobe);
> +	tracefs_dynevent_free(uretprobe);
> +	tracefs_instance_destroy(instance);
> +
> +	return 0;

I added the missing brace here.

-- Steve

> +--
> +
> +FILES
> +-----
> +[verse]



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

  Powered by Linux