Re: [PATCH 1/4] perf lock: Remove stale comments
From: Ian Rogers
Date: Fri Jun 30 2023 - 12:04:18 EST
On Wed, Jun 28, 2023 at 1:01 PM Namhyung Kim <namhyung@xxxxxxxxxx> wrote:
>
> The comment was for symbol_conf.sort_by_name which was deleted already.
> Let's get rid of the stale comments as well.
>
> Signed-off-by: Namhyung Kim <namhyung@xxxxxxxxxx>
Acked-by: Ian Rogers <irogers@xxxxxxxxxx>
Thanks,
Ian
> ---
> tools/perf/builtin-lock.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/tools/perf/builtin-lock.c b/tools/perf/builtin-lock.c
> index da36ace66d68..187efb651436 100644
> --- a/tools/perf/builtin-lock.c
> +++ b/tools/perf/builtin-lock.c
> @@ -1773,7 +1773,6 @@ static int __cmd_report(bool display_info)
> return PTR_ERR(session);
> }
>
> - /* for lock function check */
> symbol_conf.allow_aliases = true;
> symbol__init(&session->header.env);
>
> @@ -1902,7 +1901,6 @@ static int __cmd_contention(int argc, const char **argv)
> if (con.aggr_mode == LOCK_AGGR_CALLER)
> con.save_callstack = true;
>
> - /* for lock function check */
> symbol_conf.allow_aliases = true;
> symbol__init(&session->header.env);
>
> --
> 2.41.0.255.g8b1d071c50-goog
>