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


Groups > linux.kernel > #1277482 > unrolled thread

[PATCH 2/2] perf evlist: Display WEIGHT sample type bit

Started byJiri Olsa <jolsa@kernel.org>
First post2015-11-25 16:40 +0100
Last post2015-11-27 08:50 +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 2/2] perf evlist: Display WEIGHT sample type bit Jiri Olsa <jolsa@kernel.org> - 2015-11-25 16:40 +0100
    Re: [PATCH 2/2] perf evlist: Display WEIGHT sample type bit Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-11-26 21:00 +0100
    [tip:perf/core] perf evlist: Display WEIGHT sample type bit tip-bot for Jiri Olsa <tipbot@zytor.com> - 2015-11-27 08:50 +0100

#1277482 — [PATCH 2/2] perf evlist: Display WEIGHT sample type bit

FromJiri Olsa <jolsa@kernel.org>
Date2015-11-25 16:40 +0100
Subject[PATCH 2/2] perf evlist: Display WEIGHT sample type bit
Message-ID<qyKkN-87J-9@gated-at.bofh.it>
Adding WIEGHT bit_name call to display sample_type properly.

  $ perf evlist -v
  cpu/mem-loads/pp: ...SNIP... sample_type: IP|TID|TIME|ADDR|ID|CPU|DATA_SRC|WEIGHT ...

Link: http://lkml.kernel.org/n/tip-iql3yeqtpnzv7qeptgv8wuaw@git.kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
---
 tools/perf/util/evsel.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/perf/util/evsel.c b/tools/perf/util/evsel.c
index 397fb4ed3c97..0a1f4d9e52fc 100644
--- a/tools/perf/util/evsel.c
+++ b/tools/perf/util/evsel.c
@@ -1192,6 +1192,7 @@ static void __p_sample_type(char *buf, size_t size, u64 value)
 		bit_name(PERIOD), bit_name(STREAM_ID), bit_name(RAW),
 		bit_name(BRANCH_STACK), bit_name(REGS_USER), bit_name(STACK_USER),
 		bit_name(IDENTIFIER), bit_name(REGS_INTR), bit_name(DATA_SRC),
+		bit_name(WEIGHT),
 		{ .name = NULL, }
 	};
 #undef bit_name
-- 
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]


#1278422

FromArnaldo Carvalho de Melo <acme@kernel.org>
Date2015-11-26 21:00 +0100
Message-ID<qzaRY-16M-17@gated-at.bofh.it>
In reply to#1277482
Em Wed, Nov 25, 2015 at 04:36:55PM +0100, Jiri Olsa escreveu:
> Adding WIEGHT bit_name call to display sample_type properly.

Thanks, applied both.
--
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]


#1278587 — [tip:perf/core] perf evlist: Display WEIGHT sample type bit

Fromtip-bot for Jiri Olsa <tipbot@zytor.com>
Date2015-11-27 08:50 +0100
Subject[tip:perf/core] perf evlist: Display WEIGHT sample type bit
Message-ID<qzlX4-8k4-15@gated-at.bofh.it>
In reply to#1277482
Commit-ID:  dcdd184b60c3943fb678dcbaf899a26f845901ad
Gitweb:     http://git.kernel.org/tip/dcdd184b60c3943fb678dcbaf899a26f845901ad
Author:     Jiri Olsa <jolsa@kernel.org>
AuthorDate: Wed, 25 Nov 2015 16:36:55 +0100
Committer:  Arnaldo Carvalho de Melo <acme@redhat.com>
CommitDate: Thu, 26 Nov 2015 16:54:00 -0300

perf evlist: Display WEIGHT sample type bit

Adding WIEGHT bit_name call to display sample_type properly.

  $ perf evlist -v
  cpu/mem-loads/pp: ...SNIP... sample_type: IP|TID|TIME|ADDR|ID|CPU|DATA_SRC|WEIGHT ...

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1448465815-27404-2-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---
 tools/perf/util/evsel.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/perf/util/evsel.c b/tools/perf/util/evsel.c
index 397fb4e..0a1f4d9 100644
--- a/tools/perf/util/evsel.c
+++ b/tools/perf/util/evsel.c
@@ -1192,6 +1192,7 @@ static void __p_sample_type(char *buf, size_t size, u64 value)
 		bit_name(PERIOD), bit_name(STREAM_ID), bit_name(RAW),
 		bit_name(BRANCH_STACK), bit_name(REGS_USER), bit_name(STACK_USER),
 		bit_name(IDENTIFIER), bit_name(REGS_INTR), bit_name(DATA_SRC),
+		bit_name(WEIGHT),
 		{ .name = NULL, }
 	};
 #undef bit_name
--
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] | [standalone]


Back to top | Article view | linux.kernel


csiph-web