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


Groups > linux.kernel > #1303395 > unrolled thread

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

Started byJiri Olsa <jolsa@kernel.org>
First post2016-01-07 10:20 +0100
Last post2016-01-09 17:40 +0100
Articles 3 — 3 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [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

#1303395 — [PATCH 12/13] perf diff: Use perf_hpp__register_sort_field interface

FromJiri Olsa <jolsa@kernel.org>
Date2016-01-07 10:20 +0100
Subject[PATCH 12/13] perf diff: Use perf_hpp__register_sort_field interface
Message-ID<qOeTE-65o-15@gated-at.bofh.it>
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>
---
 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/

[toc] | [next] | [standalone]


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

FromNamhyung Kim <namhyung@kernel.org>
Date2016-01-07 12:20 +0100
SubjectRe: [PATCH 12/13] perf diff: Use perf_hpp__register_sort_field interface
Message-ID<qOgLM-7kJ-11@gated-at.bofh.it>
In reply to#1303395
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/

[toc] | [prev] | [next] | [standalone]


#1305297 — [tip:perf/core] perf diff: Use perf_hpp__register_sort_field interface

Fromtip-bot for Jiri Olsa <tipbot@zytor.com>
Date2016-01-09 17:40 +0100
Subject[tip:perf/core] perf diff: Use perf_hpp__register_sort_field interface
Message-ID<qP4Iz-87R-41@gated-at.bofh.it>
In reply to#1303395
Commit-ID:  21e6d8428664293f203be3004dcd8d70f68ebdb9
Gitweb:     http://git.kernel.org/tip/21e6d8428664293f203be3004dcd8d70f68ebdb9
Author:     Jiri Olsa <jolsa@kernel.org>
AuthorDate: Thu, 7 Jan 2016 10:14:09 +0100
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Fri, 8 Jan 2016 12:59:30 -0300

perf diff: Use perf_hpp__register_sort_field interface

Using perf_hpp__register_sort_field interface instead of directly adding
the entry.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Noel Grandin <noelgrandin@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1452158050-28061-13-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 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 8706383..36ccc2b 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;
 }
 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web