Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1303486

Re: [PATCH 12/13] perf diff: Use perf_hpp__register_sort_field interface

From Namhyung Kim <namhyung@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH 12/13] perf diff: Use perf_hpp__register_sort_field interface
Date 2016-01-07 12:20 +0100
Message-ID <qOgLM-7kJ-11@gated-at.bofh.it> (permalink)
References <qOeTE-65o-11@gated-at.bofh.it> <qOeTE-65o-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Jan 07, 2016 at 10:14:09AM +0100, Jiri Olsa wrote:
> Using perf_hpp__register_sort_field interface
> instead of directly adding the entry.
> 
> Link: http://lkml.kernel.org/n/tip-m1vdmvod7vcbdit0ix7bjp7z@git.kernel.org
> Signed-off-by: Jiri Olsa <jolsa@kernel.org>

Acked-by: Namhyung Kim <namhyung@kernel.org>

Thanks,
Namhyung


> ---
>  tools/perf/builtin-diff.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/perf/builtin-diff.c b/tools/perf/builtin-diff.c
> index 87063835d741..36ccc2b8827f 100644
> --- a/tools/perf/builtin-diff.c
> +++ b/tools/perf/builtin-diff.c
> @@ -1207,7 +1207,7 @@ static int ui_init(void)
>  		BUG_ON(1);
>  	}
>  
> -	list_add(&fmt->sort_list, &perf_hpp__sort_list);
> +	perf_hpp__register_sort_field(fmt);
>  	return 0;
>  }
>  
> -- 
> 2.4.3
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 12/13] perf diff: Use perf_hpp__register_sort_field interface Jiri Olsa <jolsa@kernel.org> - 2016-01-07 10:20 +0100
  Re: [PATCH 12/13] perf diff: Use perf_hpp__register_sort_field  interface Namhyung Kim <namhyung@kernel.org> - 2016-01-07 12:20 +0100
  [tip:perf/core] perf diff:   Use perf_hpp__register_sort_field interface tip-bot for Jiri Olsa <tipbot@zytor.com> - 2016-01-09 17:40 +0100

csiph-web