On Sun, Sep 10, 2017 at 07:23:21PM -0700, [email protected] wrote:

SNIP

> diff --git a/tools/perf/util/event.h b/tools/perf/util/event.h
> index ee7bcc8..7b987c8 100644
> --- a/tools/perf/util/event.h
> +++ b/tools/perf/util/event.h
> @@ -664,6 +664,17 @@ typedef int (*perf_event__handler_t)(struct perf_tool 
> *tool,
>                                    struct perf_sample *sample,
>                                    struct machine *machine);
>  
> +struct synthesize_threads_arg {
> +     struct perf_tool *tool;
> +     perf_event__handler_t process;
> +     struct machine *machine;
> +     bool mmap_data;
> +     unsigned int proc_map_timeout;
> +     struct dirent **dirent;
> +     int num;
> +     int start;
> +};

does not need to be global, can be defined in event.c

jirka

Reply via email to