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


Groups > linux.kernel > #1710088 > unrolled thread

[PATCH v2 09/19] perf, tools: Increase maximum number of events in expressions

Started byAndi Kleen <andi@firstfloor.org>
First post2017-08-12 01:30 +0200
Last post2017-08-24 10:30 +0200
Articles 4 — 4 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 v2 09/19] perf, tools: Increase maximum number of events in expressions Andi Kleen <andi@firstfloor.org> - 2017-08-12 01:30 +0200
    Re: [PATCH v2 09/19] perf, tools: Increase maximum number of events  in expressions Jiri Olsa <jolsa@redhat.com> - 2017-08-22 10:50 +0200
      Re: [PATCH v2 09/19] perf, tools: Increase maximum number of events  in expressions Arnaldo Carvalho de Melo <acme@kernel.org> - 2017-08-22 17:20 +0200
    [tip:perf/core] perf tools: Increase maximum number of events in  expressions tip-bot for Andi Kleen <tipbot@zytor.com> - 2017-08-24 10:30 +0200

#1710088 — [PATCH v2 09/19] perf, tools: Increase maximum number of events in expressions

FromAndi Kleen <andi@firstfloor.org>
Date2017-08-12 01:30 +0200
Subject[PATCH v2 09/19] perf, tools: Increase maximum number of events in expressions
Message-ID<udrxo-1lO-23@gated-at.bofh.it>
From: Andi Kleen <ak@linux.intel.com>

Some of the upcoming metrics need more than 8 events. Increase the maximum
number the parser supports.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
---
 tools/perf/util/expr.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/util/expr.h b/tools/perf/util/expr.h
index 9c2760a1a96e..400ef9eab00a 100644
--- a/tools/perf/util/expr.h
+++ b/tools/perf/util/expr.h
@@ -1,7 +1,7 @@
 #ifndef PARSE_CTX_H
 #define PARSE_CTX_H 1
 
-#define EXPR_MAX_OTHER 8
+#define EXPR_MAX_OTHER 15
 #define MAX_PARSE_ID EXPR_MAX_OTHER
 
 struct parse_id {
-- 
2.9.4

[toc] | [next] | [standalone]


#1717192 — Re: [PATCH v2 09/19] perf, tools: Increase maximum number of events in expressions

FromJiri Olsa <jolsa@redhat.com>
Date2017-08-22 10:50 +0200
SubjectRe: [PATCH v2 09/19] perf, tools: Increase maximum number of events in expressions
Message-ID<uhd2N-8iT-3@gated-at.bofh.it>
In reply to#1710088
On Fri, Aug 11, 2017 at 04:26:24PM -0700, Andi Kleen wrote:
> From: Andi Kleen <ak@linux.intel.com>
> 
> Some of the upcoming metrics need more than 8 events. Increase the maximum
> number the parser supports.
> 
> Signed-off-by: Andi Kleen <ak@linux.intel.com>

Acked-by: Jiri Olsa <jolsa@kernel.org>

thanks,
jirka

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


#1717496 — Re: [PATCH v2 09/19] perf, tools: Increase maximum number of events in expressions

FromArnaldo Carvalho de Melo <acme@kernel.org>
Date2017-08-22 17:20 +0200
SubjectRe: [PATCH v2 09/19] perf, tools: Increase maximum number of events in expressions
Message-ID<uhj8e-49K-39@gated-at.bofh.it>
In reply to#1717192
Em Tue, Aug 22, 2017 at 10:45:33AM +0200, Jiri Olsa escreveu:
> On Fri, Aug 11, 2017 at 04:26:24PM -0700, Andi Kleen wrote:
> > From: Andi Kleen <ak@linux.intel.com>
> > 
> > Some of the upcoming metrics need more than 8 events. Increase the maximum
> > number the parser supports.
> > 
> > Signed-off-by: Andi Kleen <ak@linux.intel.com>
> 
> Acked-by: Jiri Olsa <jolsa@kernel.org>

Thanks, applied.

- Arnaldo

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


#1718970 — [tip:perf/core] perf tools: Increase maximum number of events in expressions

Fromtip-bot for Andi Kleen <tipbot@zytor.com>
Date2017-08-24 10:30 +0200
Subject[tip:perf/core] perf tools: Increase maximum number of events in expressions
Message-ID<uhVGy-405-29@gated-at.bofh.it>
In reply to#1710088
Commit-ID:  8d3db2b97f5cb22cc589ba1e8e5232a26bfeb5d6
Gitweb:     http://git.kernel.org/tip/8d3db2b97f5cb22cc589ba1e8e5232a26bfeb5d6
Author:     Andi Kleen <ak@linux.intel.com>
AuthorDate: Fri, 11 Aug 2017 16:26:24 -0700
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Tue, 22 Aug 2017 12:19:05 -0300

perf tools: Increase maximum number of events in expressions

Some of the upcoming metrics need more than 8 events. Increase the maximum
number the parser supports.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Jiri Olsa <jolsa@kernel.org>
Link: http://lkml.kernel.org/r/20170811232634.30465-9-andi@firstfloor.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/util/expr.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/perf/util/expr.h b/tools/perf/util/expr.h
index 9c2760a..400ef9e 100644
--- a/tools/perf/util/expr.h
+++ b/tools/perf/util/expr.h
@@ -1,7 +1,7 @@
 #ifndef PARSE_CTX_H
 #define PARSE_CTX_H 1
 
-#define EXPR_MAX_OTHER 8
+#define EXPR_MAX_OTHER 15
 #define MAX_PARSE_ID EXPR_MAX_OTHER
 
 struct parse_id {

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web