Re: [PATCH 34/48] perf dwarf-aux: Add die_collect_vars()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [PATCH 34/48] perf dwarf-aux: Add die_collect_vars()
- From: Namhyung Kim <namhyung@xxxxxxxxxx>
- Date: Wed, 8 Nov 2023 21:05:48 -0800
- Cc: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>, Jiri Olsa <jolsa@xxxxxxxxxx>, Peter Zijlstra <peterz@xxxxxxxxxxxxx>, Ian Rogers <irogers@xxxxxxxxxx>, Adrian Hunter <adrian.hunter@xxxxxxxxx>, Ingo Molnar <mingo@xxxxxxxxxx>, LKML <linux-kernel@xxxxxxxxxxxxxxx>, linux-perf-users@xxxxxxxxxxxxxxx, Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>, Stephane Eranian <eranian@xxxxxxxxxx>, linux-toolchains@xxxxxxxxxxxxxxx, linux-trace-devel@xxxxxxxxxxxxxxx
- In-reply-to: <20231108195204.a3ddfe5965e9c33661460ff4@kernel.org>
- References: <20231012035111.676789-1-namhyung@kernel.org> <20231012035111.676789-35-namhyung@kernel.org> <20231108195204.a3ddfe5965e9c33661460ff4@kernel.org>
On Wed, Nov 8, 2023 at 2:52 AM Masami Hiramatsu <mhiramat@xxxxxxxxxx> wrote:
>
> On Wed, 11 Oct 2023 20:50:57 -0700
> Namhyung Kim <namhyung@xxxxxxxxxx> wrote:
>
> > The die_collect_vars() is to find all variable information in the scope
> > including function parameters. The struct die_var_type is to save the
> > type of the variable with the location (reg and offset) as well as where
> > it's defined in the code (addr).
> >
>
> This looks good to me.
>
> Acked-by: Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>
Thanks!
>
> BTW, I did similar thing in collect_variables_cb()@probe-finder.c, maybe
> this can simplify that too.
Ok, I'll take a look later.
Thanks,
Namhyung
[Index of Archives]
[Linux USB Development]
[Linux USB Development]
[Linux Audio Users]
[Yosemite Hiking]
[Linux Kernel]
[Linux SCSI]