[tip:locking/urgent] locking/qspinlock: Fix build for anonymous union in older GCC compilers

2018-06-21 Thread tip-bot for Steven Rostedt (VMware)
Commit-ID: 6cc65be4f6f2a7186af8f3e09900787c7912dad2 Gitweb: https://git.kernel.org/tip/6cc65be4f6f2a7186af8f3e09900787c7912dad2 Author: Steven Rostedt (VMware) AuthorDate: Thu, 21 Jun 2018 20:35:26 -0400 Committer: Ingo Molnar CommitDate: Fri, 22 Jun 2018 04:19:16 +0200 locking

[PATCH] platform/x86: fujitsu-laptop: Simplify soft key handling

2018-03-22 Thread Darren Hart (VMware)
Glogowski <glo...@fbihome.de> Cc: Michał Kępień <ker...@kempniu.pl> Cc: Jonathan Woithe <jwoi...@just42.net> Signed-off-by: Darren Hart (VMware) <dvh...@infradead.org> --- Note: this applies on top of Jan-Marek's recent RFKILL and MICMUTE hotkey patch. I'd really appreci

[PATCH] platform/x86: fujitsu-laptop: Simplify soft key handling

2018-03-22 Thread Darren Hart (VMware)
Glogowski Cc: Michał Kępień Cc: Jonathan Woithe Signed-off-by: Darren Hart (VMware) --- Note: this applies on top of Jan-Marek's recent RFKILL and MICMUTE hotkey patch. I'd really appreciate a Tested-by from Jan-Marek in particular. You can get the entire series ready for testing here: http

[PATCH] trace-cmd: Make the build messages to show only file names

2018-02-08 Thread Vladislav Valtchev (VMware)
tly like in the past by stripping the directory part of each file path, before printing the message. Signed-off-by: Vladislav Valtchev (VMware) <vladislav.valtc...@gmail.com> --- scripts/utils.mk | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/scripts/u

[PATCH] trace-cmd: Make the build messages to show only file names

2018-02-08 Thread Vladislav Valtchev (VMware)
tly like in the past by stripping the directory part of each file path, before printing the message. Signed-off-by: Vladislav Valtchev (VMware) --- scripts/utils.mk | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/scripts/utils.mk b/scripts/utils.mk index 06e

[tip:sched/urgent] sched/rt: Use container_of() to get root domain in rto_push_irq_work_func()

2018-02-06 Thread tip-bot for Steven Rostedt (VMware)
Commit-ID: ad0f1d9d65938aec72a698116cd73a980916895e Gitweb: https://git.kernel.org/tip/ad0f1d9d65938aec72a698116cd73a980916895e Author: Steven Rostedt (VMware) <rost...@goodmis.org> AuthorDate: Tue, 23 Jan 2018 20:45:37 -0500 Committer: Ingo Molnar <mi...@kernel.org> Commit

[tip:sched/urgent] sched/rt: Up the root domain ref count when passing it around via IPIs

2018-02-06 Thread tip-bot for Steven Rostedt (VMware)
Commit-ID: 364f56653708ba8bcdefd4f0da2a42904baa8eeb Gitweb: https://git.kernel.org/tip/364f56653708ba8bcdefd4f0da2a42904baa8eeb Author: Steven Rostedt (VMware) <rost...@goodmis.org> AuthorDate: Tue, 23 Jan 2018 20:45:38 -0500 Committer: Ingo Molnar <mi...@kernel.org> Commit

[tip:sched/urgent] sched/rt: Use container_of() to get root domain in rto_push_irq_work_func()

2018-02-06 Thread tip-bot for Steven Rostedt (VMware)
Commit-ID: ad0f1d9d65938aec72a698116cd73a980916895e Gitweb: https://git.kernel.org/tip/ad0f1d9d65938aec72a698116cd73a980916895e Author: Steven Rostedt (VMware) AuthorDate: Tue, 23 Jan 2018 20:45:37 -0500 Committer: Ingo Molnar CommitDate: Tue, 6 Feb 2018 10:20:33 +0100 sched/rt: Use

[tip:sched/urgent] sched/rt: Up the root domain ref count when passing it around via IPIs

2018-02-06 Thread tip-bot for Steven Rostedt (VMware)
Commit-ID: 364f56653708ba8bcdefd4f0da2a42904baa8eeb Gitweb: https://git.kernel.org/tip/364f56653708ba8bcdefd4f0da2a42904baa8eeb Author: Steven Rostedt (VMware) AuthorDate: Tue, 23 Jan 2018 20:45:38 -0500 Committer: Ingo Molnar CommitDate: Tue, 6 Feb 2018 10:20:33 +0100 sched/rt: Up

[tip:perf/core] tools lib traceevent: Fix get_field_str() for dynamic strings

2018-01-17 Thread tip-bot for Steven Rostedt (VMware)
Commit-ID: d777f8de99b05d399c0e4e51cdce016f26bd971b Gitweb: https://git.kernel.org/tip/d777f8de99b05d399c0e4e51cdce016f26bd971b Author: Steven Rostedt (VMware) <rost...@goodmis.org> AuthorDate: Thu, 11 Jan 2018 19:47:51 -0500 Committer: Arnaldo Carvalho de Melo <a...@r

[tip:perf/core] tools lib traceevent: Fix get_field_str() for dynamic strings

2018-01-17 Thread tip-bot for Steven Rostedt (VMware)
Commit-ID: d777f8de99b05d399c0e4e51cdce016f26bd971b Gitweb: https://git.kernel.org/tip/d777f8de99b05d399c0e4e51cdce016f26bd971b Author: Steven Rostedt (VMware) AuthorDate: Thu, 11 Jan 2018 19:47:51 -0500 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 17 Jan 2018 10:23:21 -0300

[tip:perf/core] tools lib traceevent: Show contents (in hex) of data of unrecognized type records

2018-01-17 Thread tip-bot for Steven Rostedt (VMware)
Commit-ID: e877372880f72399323e433187cce2bfbea40263 Gitweb: https://git.kernel.org/tip/e877372880f72399323e433187cce2bfbea40263 Author: Steven Rostedt (VMware) <rost...@goodmis.org> AuthorDate: Thu, 11 Jan 2018 19:47:47 -0500 Committer: Arnaldo Carvalho de Melo <a...@r

[tip:perf/core] tools lib traceevent: Show contents (in hex) of data of unrecognized type records

2018-01-17 Thread tip-bot for Steven Rostedt (VMware)
Commit-ID: e877372880f72399323e433187cce2bfbea40263 Gitweb: https://git.kernel.org/tip/e877372880f72399323e433187cce2bfbea40263 Author: Steven Rostedt (VMware) AuthorDate: Thu, 11 Jan 2018 19:47:47 -0500 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 17 Jan 2018 10:22:13 -0300

[tip:perf/core] tools lib traceevent: Handle new pointer processing of bprint strings

2018-01-17 Thread tip-bot for Steven Rostedt (VMware)
Commit-ID: 37db96bb49629681cb839d7304a70524fe10f969 Gitweb: https://git.kernel.org/tip/37db96bb49629681cb839d7304a70524fe10f969 Author: Steven Rostedt (VMware) <rost...@goodmis.org> AuthorDate: Thu, 11 Jan 2018 19:47:46 -0500 Committer: Arnaldo Carvalho de Melo <a...@r

[tip:perf/core] tools lib traceevent: Handle new pointer processing of bprint strings

2018-01-17 Thread tip-bot for Steven Rostedt (VMware)
Commit-ID: 37db96bb49629681cb839d7304a70524fe10f969 Gitweb: https://git.kernel.org/tip/37db96bb49629681cb839d7304a70524fe10f969 Author: Steven Rostedt (VMware) AuthorDate: Thu, 11 Jan 2018 19:47:46 -0500 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 17 Jan 2018 10:22:08 -0300

[tip:perf/core] tools lib traceevent: Simplify pointer print logic and fix %pF

2018-01-17 Thread tip-bot for Steven Rostedt (VMware)
Commit-ID: 38d70b7ca1769f26c0b79f3c08ff2cc949712b59 Gitweb: https://git.kernel.org/tip/38d70b7ca1769f26c0b79f3c08ff2cc949712b59 Author: Steven Rostedt (VMware) <rost...@goodmis.org> AuthorDate: Thu, 11 Jan 2018 19:47:45 -0500 Committer: Arnaldo Carvalho de Melo <a...@r

[tip:perf/core] tools lib traceevent: Simplify pointer print logic and fix %pF

2018-01-17 Thread tip-bot for Steven Rostedt (VMware)
Commit-ID: 38d70b7ca1769f26c0b79f3c08ff2cc949712b59 Gitweb: https://git.kernel.org/tip/38d70b7ca1769f26c0b79f3c08ff2cc949712b59 Author: Steven Rostedt (VMware) AuthorDate: Thu, 11 Jan 2018 19:47:45 -0500 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 17 Jan 2018 10:22:03 -0300

[tip:perf/core] tools lib traceevent: Show value of flags that have not been parsed

2018-01-17 Thread tip-bot for Steven Rostedt (VMware)
Commit-ID: 3df76c9a81671588516fc74b980cde664efe Gitweb: https://git.kernel.org/tip/3df76c9a81671588516fc74b980cde664efe Author: Steven Rostedt (VMware) <rost...@goodmis.org> AuthorDate: Thu, 11 Jan 2018 19:47:43 -0500 Committer: Arnaldo Carvalho de Melo <a...@r

[tip:perf/core] tools lib traceevent: Show value of flags that have not been parsed

2018-01-17 Thread tip-bot for Steven Rostedt (VMware)
Commit-ID: 3df76c9a81671588516fc74b980cde664efe Gitweb: https://git.kernel.org/tip/3df76c9a81671588516fc74b980cde664efe Author: Steven Rostedt (VMware) AuthorDate: Thu, 11 Jan 2018 19:47:43 -0500 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 17 Jan 2018 10:21:45 -0300

[PATCH v4 3/3] trace-cmd: Making stat to report when the stack tracer is ON

2018-01-16 Thread Vladislav Valtchev (VMware)
trace-cmd stat is a handy way for users to see what tracing is currently going on, but currently it does not say anything about the stack tracing. This patch makes the command to show a message when the stack tracer is ON. Signed-off-by: Vladislav Valtchev (VMware) <vladislav.valtc...@gmail.

[PATCH v4 3/3] trace-cmd: Making stat to report when the stack tracer is ON

2018-01-16 Thread Vladislav Valtchev (VMware)
trace-cmd stat is a handy way for users to see what tracing is currently going on, but currently it does not say anything about the stack tracing. This patch makes the command to show a message when the stack tracer is ON. Signed-off-by: Vladislav Valtchev (VMware) --- trace-cmd.h | 2

[PATCH v4 1/3] trace-cmd: Make read_proc() to return int status via OUT arg

2018-01-16 Thread Vladislav Valtchev (VMware)
there is something wrong with the stack tracer. Only the call to die() in case the file is empty has been left in this patch: it will be removed as well in a separate commit. Signed-off-by: Vladislav Valtchev (VMware) <vladislav.valtc...@gmail.com> --- trace-stack.

[PATCH v4 1/3] trace-cmd: Make read_proc() to return int status via OUT arg

2018-01-16 Thread Vladislav Valtchev (VMware)
there is something wrong with the stack tracer. Only the call to die() in case the file is empty has been left in this patch: it will be removed as well in a separate commit. Signed-off-by: Vladislav Valtchev (VMware) --- trace-stack.c | 72

[PATCH v4 0/3] Integrate stack tracer status in 'stat'

2018-01-16 Thread Vladislav Valtchev (VMware)
This short patch series makes trace-cmd stat aware of the stack tracer: now, when the stack tracker is ON, the command will report that. Vladislav Valtchev (VMware) (3): trace-cmd: Make read_proc() to return int status via OUT arg trace-cmd: Remove the die() call from read_proc() trace-cmd

[PATCH v4 2/3] trace-cmd: Remove the die() call from read_proc()

2018-01-16 Thread Vladislav Valtchev (VMware)
die(). Signed-off-by: Vladislav Valtchev (VMware) <vladislav.valtc...@gmail.com> --- trace-stack.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/trace-stack.c b/trace-stack.c index fada62d..3e1e41b 100644 --- a/trace-stack.c +++ b/trace-stack.c @@ -79,7 +79,7 @@

[PATCH v4 0/3] Integrate stack tracer status in 'stat'

2018-01-16 Thread Vladislav Valtchev (VMware)
This short patch series makes trace-cmd stat aware of the stack tracer: now, when the stack tracker is ON, the command will report that. Vladislav Valtchev (VMware) (3): trace-cmd: Make read_proc() to return int status via OUT arg trace-cmd: Remove the die() call from read_proc() trace-cmd

[PATCH v4 2/3] trace-cmd: Remove the die() call from read_proc()

2018-01-16 Thread Vladislav Valtchev (VMware)
die(). Signed-off-by: Vladislav Valtchev (VMware) --- trace-stack.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/trace-stack.c b/trace-stack.c index fada62d..3e1e41b 100644 --- a/trace-stack.c +++ b/trace-stack.c @@ -79,7 +79,7 @@ static int read_proc(int *status

[PATCH v3 1/3] trace-cmd: Make read_proc() to return int status via OUT arg

2018-01-15 Thread Vladislav Valtchev (VMware)
there is something wrong with the stack tracer. Only the call to die() in case the file is empty has been left in this patch: it will be removed as well in a separate commit. Signed-off-by: Vladislav Valtchev (VMware) <vladislav.valtc...@gmail.com> --- trace-stack.

[PATCH v3 1/3] trace-cmd: Make read_proc() to return int status via OUT arg

2018-01-15 Thread Vladislav Valtchev (VMware)
there is something wrong with the stack tracer. Only the call to die() in case the file is empty has been left in this patch: it will be removed as well in a separate commit. Signed-off-by: Vladislav Valtchev (VMware) --- trace-stack.c | 79

[PATCH v3 2/3] trace-cmd: Remove the die() call from read_proc()

2018-01-15 Thread Vladislav Valtchev (VMware)
die(). Signed-off-by: Vladislav Valtchev (VMware) <vladislav.valtc...@gmail.com> --- trace-stack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trace-stack.c b/trace-stack.c index c1058ca..d55d994 100644 --- a/trace-stack.c +++ b/trace-stack.c @@ -79,9 +79,9 @@ stat

[PATCH v3 2/3] trace-cmd: Remove the die() call from read_proc()

2018-01-15 Thread Vladislav Valtchev (VMware)
die(). Signed-off-by: Vladislav Valtchev (VMware) --- trace-stack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trace-stack.c b/trace-stack.c index c1058ca..d55d994 100644 --- a/trace-stack.c +++ b/trace-stack.c @@ -79,9 +79,9 @@ static int read_proc(int *status

[PATCH v3 0/3] Integrate stack tracer status in 'stat'

2018-01-15 Thread Vladislav Valtchev (VMware)
This short patch series makes trace-cmd stat aware of the stack tracer: now, when the stack tracker is ON, the command will report that. Vladislav Valtchev (VMware) (3): trace-cmd: Make read_proc() to return int status via OUT arg trace-cmd: Remove the die() call from read_proc() trace-cmd

[PATCH v3 0/3] Integrate stack tracer status in 'stat'

2018-01-15 Thread Vladislav Valtchev (VMware)
This short patch series makes trace-cmd stat aware of the stack tracer: now, when the stack tracker is ON, the command will report that. Vladislav Valtchev (VMware) (3): trace-cmd: Make read_proc() to return int status via OUT arg trace-cmd: Remove the die() call from read_proc() trace-cmd

[PATCH v3 3/3] trace-cmd: Making stat to report when the stack tracer is ON

2018-01-15 Thread Vladislav Valtchev (VMware)
trace-cmd stat is a handy way for users to see what tracing is currently going on, but currently it does not say anything about the stack tracing. This patch makes the command to show a message when the stack tracer is ON. Signed-off-by: Vladislav Valtchev (VMware) <vladislav.valtc...@gmail.

[PATCH v3 3/3] trace-cmd: Making stat to report when the stack tracer is ON

2018-01-15 Thread Vladislav Valtchev (VMware)
trace-cmd stat is a handy way for users to see what tracing is currently going on, but currently it does not say anything about the stack tracing. This patch makes the command to show a message when the stack tracer is ON. Signed-off-by: Vladislav Valtchev (VMware) --- trace-cmd.h | 2

[PATCH v2 13/18] trace-cmd: Move python-related files in python/

2018-01-11 Thread Vladislav Valtchev (VMware)
the parent Makefile to invoke it. Signed-off-by: Vladislav Valtchev (VMware) <vladislav.valtc...@gmail.com> --- Makefile | 42 +-- python/Makefile | 40 + ctracecmd.i => python/ct

[PATCH v2 13/18] trace-cmd: Move python-related files in python/

2018-01-11 Thread Vladislav Valtchev (VMware)
the parent Makefile to invoke it. Signed-off-by: Vladislav Valtchev (VMware) --- Makefile | 42 +-- python/Makefile | 40 + ctracecmd.i => python/ctracecmd.i | 0 ctracecmdgu

[PATCH v2 2/3] trace-cmd: Remove the die() call from read_proc()

2017-12-21 Thread Vladislav Valtchev (VMware)
die(). Signed-off-by: Vladislav Valtchev (VMware) <vladislav.valtc...@gmail.com> --- trace-stack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trace-stack.c b/trace-stack.c index c1058ca..d55d994 100644 --- a/trace-stack.c +++ b/trace-stack.c @@ -79,9 +79,9 @@ stat

[PATCH v2 2/3] trace-cmd: Remove the die() call from read_proc()

2017-12-21 Thread Vladislav Valtchev (VMware)
die(). Signed-off-by: Vladislav Valtchev (VMware) --- trace-stack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trace-stack.c b/trace-stack.c index c1058ca..d55d994 100644 --- a/trace-stack.c +++ b/trace-stack.c @@ -79,9 +79,9 @@ static int read_proc(int *status

[PATCH v2 3/3] trace-cmd: Making stat to report when the stack tracer is ON

2017-12-21 Thread Vladislav Valtchev (VMware)
trace-cmd stat is a handy way for users to see what tracing is currently going on, but currently it does not say anything about the stack tracing. This patch makes the command to show a message when the stack tracer is ON. Signed-off-by: Vladislav Valtchev (VMware) <vladislav.valtc...@gmail.

[PATCH v2 3/3] trace-cmd: Making stat to report when the stack tracer is ON

2017-12-21 Thread Vladislav Valtchev (VMware)
trace-cmd stat is a handy way for users to see what tracing is currently going on, but currently it does not say anything about the stack tracing. This patch makes the command to show a message when the stack tracer is ON. Signed-off-by: Vladislav Valtchev (VMware) --- trace-cmd.h | 2

[PATCH v2 1/3] trace-cmd: Make read_proc() to return int status via OUT arg

2017-12-21 Thread Vladislav Valtchev (VMware)
there is something wrong with the stack tracer. Only the call to die() in case the file is empty has been left in this patch: it will be removed as well in a separate commit. Signed-off-by: Vladislav Valtchev (VMware) <vladislav.valtc...@gmail.com> --- trace-stack.

[PATCH v2 1/3] trace-cmd: Make read_proc() to return int status via OUT arg

2017-12-21 Thread Vladislav Valtchev (VMware)
there is something wrong with the stack tracer. Only the call to die() in case the file is empty has been left in this patch: it will be removed as well in a separate commit. Signed-off-by: Vladislav Valtchev (VMware) --- trace-stack.c | 79

[PATCH v2 0/3] trace-cmd: Integrate stack tracer status in 'stat'

2017-12-21 Thread Vladislav Valtchev (VMware)
This short patch series makes trace-cmd stat aware of the stack tracer: now, when the stack tracker is ON, the stat command will report that. Vladislav Valtchev (VMware) (3): trace-cmd: Make read_proc() to return int status via OUT arg trace-cmd: Remove the die() call from read_proc() trace

[PATCH v2 0/3] trace-cmd: Integrate stack tracer status in 'stat'

2017-12-21 Thread Vladislav Valtchev (VMware)
This short patch series makes trace-cmd stat aware of the stack tracer: now, when the stack tracker is ON, the stat command will report that. Vladislav Valtchev (VMware) (3): trace-cmd: Make read_proc() to return int status via OUT arg trace-cmd: Remove the die() call from read_proc() trace

[PATCH 03/18] trace-cmd: Move trace-cmd headers in include/trace-cmd

2017-12-20 Thread Vladislav Valtchev (VMware)
This patch moves trace-cmd.h and trace-hash.h in include/trace-cmd as part of a bigger restructuring plan of trace-cmd's code base. In this case, the new directory will be the "public headers" directory of the trace-cmd library. Signed-off-by: Vladislav Valtchev (VMware) <vl

[PATCH 03/18] trace-cmd: Move trace-cmd headers in include/trace-cmd

2017-12-20 Thread Vladislav Valtchev (VMware)
This patch moves trace-cmd.h and trace-hash.h in include/trace-cmd as part of a bigger restructuring plan of trace-cmd's code base. In this case, the new directory will be the "public headers" directory of the trace-cmd library. Signed-off-by: Vladislav Valtchev (VMware) ---

[PATCH 02/18] trace-cmd: Move libtraceevent headers in include/traceevent

2017-12-20 Thread Vladislav Valtchev (VMware)
This patch moves event-parse.h and kbuffer.h in include/traceevent as part of a bigger restructuring plan of trace-cmd's code base. In this case, the new directory will be the "public headers" directory of the traceevent library. Signed-off-by: Vladislav Valtchev (VMware) <vl

[PATCH 02/18] trace-cmd: Move libtraceevent headers in include/traceevent

2017-12-20 Thread Vladislav Valtchev (VMware)
This patch moves event-parse.h and kbuffer.h in include/traceevent as part of a bigger restructuring plan of trace-cmd's code base. In this case, the new directory will be the "public headers" directory of the traceevent library. Signed-off-by: Vladislav Valtchev (VMware) ---

[PATCH 07/18] trace-cmd: Move trace-hash-local.h in lib/trace-cmd/include

2017-12-20 Thread Vladislav Valtchev (VMware)
lib/trace-cmd. Signed-off-by: Vladislav Valtchev (VMware) <vladislav.valtc...@gmail.com> --- Makefile | 1 + trace-hash-local.h => lib/trace-cmd/include/trace-hash-local.h | 0 2 files changed, 1 insertion(+) rename trace-hash-local

[PATCH 06/18] trace-cmd: Move libtraceevent *.c files in lib/traceevent

2017-12-20 Thread Vladislav Valtchev (VMware)
Valtchev (VMware) <vladislav.valtc...@gmail.com> --- Makefile | 42 - lib/traceevent/Makefile | 45 +++ event-parse.c => lib/traceevent/event-parse.c | 0 event-plugin.c => li

[PATCH 07/18] trace-cmd: Move trace-hash-local.h in lib/trace-cmd/include

2017-12-20 Thread Vladislav Valtchev (VMware)
lib/trace-cmd. Signed-off-by: Vladislav Valtchev (VMware) --- Makefile | 1 + trace-hash-local.h => lib/trace-cmd/include/trace-hash-local.h | 0 2 files changed, 1 insertion(+) rename trace-hash-local.h => lib/trace-cmd/include/trace-h

[PATCH 06/18] trace-cmd: Move libtraceevent *.c files in lib/traceevent

2017-12-20 Thread Vladislav Valtchev (VMware)
Valtchev (VMware) --- Makefile | 42 - lib/traceevent/Makefile | 45 +++ event-parse.c => lib/traceevent/event-parse.c | 0 event-plugin.c => lib/traceevent/event-plugin.c | 0 k

[PATCH 08/18] trace-cmd: Move libtracecmd *.c files in lib/trace-cmd

2017-12-20 Thread Vladislav Valtchev (VMware)
-by: Vladislav Valtchev (VMware) <vladislav.valtc...@gmail.com> --- Makefile | 54 ++ lib/trace-cmd/Makefile | 45 ++ trace-blk-hack.c => lib/trace-cmd/trace-blk-hack.c | 0 trace

[PATCH 01/18] trace-cmd: Rename libparsevent to libtraceevent

2017-12-20 Thread Vladislav Valtchev (VMware)
This simple patch renames libparsevent to libtraceevent in order to trace-cmd to be consistent with the kernel. Signed-off-by: Vladislav Valtchev (VMware) <vladislav.valtc...@gmail.com> --- Makefile | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Make

[PATCH 01/18] trace-cmd: Rename libparsevent to libtraceevent

2017-12-20 Thread Vladislav Valtchev (VMware)
This simple patch renames libparsevent to libtraceevent in order to trace-cmd to be consistent with the kernel. Signed-off-by: Vladislav Valtchev (VMware) --- Makefile | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index b7bb3cc..bd2d844

[PATCH 08/18] trace-cmd: Move libtracecmd *.c files in lib/trace-cmd

2017-12-20 Thread Vladislav Valtchev (VMware)
-by: Vladislav Valtchev (VMware) --- Makefile | 54 ++ lib/trace-cmd/Makefile | 45 ++ trace-blk-hack.c => lib/trace-cmd/trace-blk-hack.c | 0 trace-ftrace.c => lib/trace-cmd/trace-ft

[PATCH 10/18] trace-cmd: Move GUI *.c files in kernel-shark/

2017-12-20 Thread Vladislav Valtchev (VMware)
Makefile to invoke it. Signed-off-by: Vladislav Valtchev (VMware) <vladislav.valtc...@gmail.com> --- Makefile | 190 - kernel-shark/Makefile | 84 + kernel-shark.c => kernel-shark/kernel-shark.c

[PATCH 10/18] trace-cmd: Move GUI *.c files in kernel-shark/

2017-12-20 Thread Vladislav Valtchev (VMware)
Makefile to invoke it. Signed-off-by: Vladislav Valtchev (VMware) --- Makefile | 190 - kernel-shark/Makefile | 84 + kernel-shark.c => kernel-shark/kernel-shark.c | 0 trace-capture.c =>

[PATCH 12/18] trace-cmd: Fix the broken target ctracecmdgui.so

2017-12-20 Thread Vladislav Valtchev (VMware)
Currenly the ctracecmdgui.so target is broken beacause the object files trace-view.o trace-view-store.o are not built with -fPIC. This patch just fixes the kernel-shark/Makefile in order to those files to be built with -fPIC. Signed-off-by: Vladislav Valtchev (VMware) <vladislav.va

[PATCH 12/18] trace-cmd: Fix the broken target ctracecmdgui.so

2017-12-20 Thread Vladislav Valtchev (VMware)
Currenly the ctracecmdgui.so target is broken beacause the object files trace-view.o trace-view-store.o are not built with -fPIC. This patch just fixes the kernel-shark/Makefile in order to those files to be built with -fPIC. Signed-off-by: Vladislav Valtchev (VMware) --- kernel-shark/Makefile

[PATCH 11/18] trace-cmd: Move plugin_* files in plugins/

2017-12-20 Thread Vladislav Valtchev (VMware)
to invoke it. Signed-off-by: Vladislav Valtchev (VMware) <vladislav.valtc...@gmail.com> --- Makefile | 115 ++--- lib/trace-cmd/Makefile | 2 + plugins/Makefile

[PATCH 11/18] trace-cmd: Move plugin_* files in plugins/

2017-12-20 Thread Vladislav Valtchev (VMware)
to invoke it. Signed-off-by: Vladislav Valtchev (VMware) --- Makefile | 115 ++--- lib/trace-cmd/Makefile | 2 + plugins/Makefile | 69 + plugin_blk.c => plug

[PATCH 14/18] trace-cmd: Move tracecmd headers in tracecmd/include

2017-12-20 Thread Vladislav Valtchev (VMware)
This patch moves trace-cmd's private headers in a dedicated directory called tracecmd/include, as part of a bigger restructuring plan of trace-cmd's code base. Signed-off-by: Vladislav Valtchev (VMware) <vladislav.valtc...@gmail.com> --- Ma

[PATCH 14/18] trace-cmd: Move tracecmd headers in tracecmd/include

2017-12-20 Thread Vladislav Valtchev (VMware)
This patch moves trace-cmd's private headers in a dedicated directory called tracecmd/include, as part of a bigger restructuring plan of trace-cmd's code base. Signed-off-by: Vladislav Valtchev (VMware) --- Makefile| 1 + bug.h => tracecmd/incl

[PATCH 13/18] trace-cmd: Move python-related files in python/

2017-12-20 Thread Vladislav Valtchev (VMware)
the parent Makefile to invoke it. Signed-off-by: Vladislav Valtchev (VMware) <vladislav.valtc...@gmail.com> --- Makefile | 41 +-- python/Makefile | 40 ++ ctracecmd.i => python/ct

[PATCH 13/18] trace-cmd: Move python-related files in python/

2017-12-20 Thread Vladislav Valtchev (VMware)
the parent Makefile to invoke it. Signed-off-by: Vladislav Valtchev (VMware) --- Makefile | 41 +-- python/Makefile | 40 ++ ctracecmd.i => python/ctracecmd.i | 0 ctracecmdgu

[PATCH 16/18] trace-cmd: Move trace-cmd app files in tracecmd/

2017-12-20 Thread Vladislav Valtchev (VMware)
This patch moves all the remaining C files in the project's root directory to tracecmd, a directory dedicated to the trace-cmd application itself. This patch completes the bigger restructuring plan of trace-cmd's code base. Signed-off-by: Vladislav Valtchev (VMware) <vladislav.valtc...@gmail.

[PATCH 15/18] trace-cmd: Move version.h in include/

2017-12-20 Thread Vladislav Valtchev (VMware)
This trivial patch just moves the only header file remained in project's root directory to the include/ directory, common for all of the trace-cmd's sub-projects. Signed-off-by: Vladislav Valtchev (VMware) <vladislav.valtc...@gmail.com> --- version.h => include/version.h | 0 1 file c

[PATCH 16/18] trace-cmd: Move trace-cmd app files in tracecmd/

2017-12-20 Thread Vladislav Valtchev (VMware)
This patch moves all the remaining C files in the project's root directory to tracecmd, a directory dedicated to the trace-cmd application itself. This patch completes the bigger restructuring plan of trace-cmd's code base. Signed-off-by: Vladislav Valtchev (VMware) --- Makefile

[PATCH 15/18] trace-cmd: Move version.h in include/

2017-12-20 Thread Vladislav Valtchev (VMware)
This trivial patch just moves the only header file remained in project's root directory to the include/ directory, common for all of the trace-cmd's sub-projects. Signed-off-by: Vladislav Valtchev (VMware) --- version.h => include/version.h | 0 1 file changed, 0 insertions(+), 0 deleti

[PATCH 18/18] trace-cmd: Make the build to tell when python-dev is missing

2017-12-20 Thread Vladislav Valtchev (VMware)
. Signed-off-by: Vladislav Valtchev (VMware) <vladislav.valtc...@gmail.com> --- Makefile | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 0a2a78d..f463d1f 100644 --- a/Makefile +++ b/Makefile @@ -119,6 +119,8 @@ ifeq ($(shell sh -c "pkg-config --cflags $(

[PATCH 18/18] trace-cmd: Make the build to tell when python-dev is missing

2017-12-20 Thread Vladislav Valtchev (VMware)
. Signed-off-by: Vladislav Valtchev (VMware) --- Makefile | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Makefile b/Makefile index 0a2a78d..f463d1f 100644 --- a/Makefile +++ b/Makefile @@ -119,6 +119,8 @@ ifeq ($(shell sh -c "pkg-config --cflags $(PYTHON_VERS) > /dev/null 2>

[PATCH 17/18] trace-cmd: Fix the logic behind SWIG_DEFINED in the Makefile

2017-12-20 Thread Vladislav Valtchev (VMware)
the POSIX 'comamnd -v {CMD}' in $(shell ...) to detect the presence of the swig and restores this way the fake report_noswig target. Signed-off-by: Vladislav Valtchev (VMware) <vladislav.valtc...@gmail.com> --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Ma

[PATCH 17/18] trace-cmd: Fix the logic behind SWIG_DEFINED in the Makefile

2017-12-20 Thread Vladislav Valtchev (VMware)
the POSIX 'comamnd -v {CMD}' in $(shell ...) to detect the presence of the swig and restores this way the fake report_noswig target. Signed-off-by: Vladislav Valtchev (VMware) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c5da7c8

[PATCH 09/18] trace-cmd: Move GUI headers in kernel-shark/include

2017-12-20 Thread Vladislav Valtchev (VMware)
This patch moves, as part of a bigger code base restructuring, all the header files of kernelshark in a dedicated directory. The next patch will move all of kernelshark's source files in kernel-shark/. Signed-off-by: Vladislav Valtchev (VMware) <vladislav.valtc...@gmail.com> --- Ma

[PATCH 09/18] trace-cmd: Move GUI headers in kernel-shark/include

2017-12-20 Thread Vladislav Valtchev (VMware)
This patch moves, as part of a bigger code base restructuring, all the header files of kernelshark in a dedicated directory. The next patch will move all of kernelshark's source files in kernel-shark/. Signed-off-by: Vladislav Valtchev (VMware) --- Makefile

[PATCH 05/18] trace-cmd: Extract part of Makefile in scripts/utils.mk

2017-12-20 Thread Vladislav Valtchev (VMware)
This patch extracts useful functions for Makefile in order to allow the new Makefiles that will be introduced in the next steps to reuse them. Signed-off-by: Vladislav Valtchev (VMware) <vladislav.valtc...@gmail.com> --- Makefile

[PATCH 05/18] trace-cmd: Extract part of Makefile in scripts/utils.mk

2017-12-20 Thread Vladislav Valtchev (VMware)
This patch extracts useful functions for Makefile in order to allow the new Makefiles that will be introduced in the next steps to reuse them. Signed-off-by: Vladislav Valtchev (VMware) --- Makefile | 57 +++-- scripts/utils.mk | 64

[PATCH 04/18] trace-cmd: Move event-utils.h in lib/traceevent/include

2017-12-20 Thread Vladislav Valtchev (VMware)
there as well. Signed-off-by: Vladislav Valtchev (VMware) <vladislav.valtc...@gmail.com> --- Makefile | 1 + event-utils.h => lib/traceevent/include/event-utils.h | 0 2 files changed, 1 insertion(+) rename event-utils.h => lib/traceevent/i

[PATCH 04/18] trace-cmd: Move event-utils.h in lib/traceevent/include

2017-12-20 Thread Vladislav Valtchev (VMware)
there as well. Signed-off-by: Vladislav Valtchev (VMware) --- Makefile | 1 + event-utils.h => lib/traceevent/include/event-utils.h | 0 2 files changed, 1 insertion(+) rename event-utils.h => lib/traceevent/include/event-utils.h (100%) diff

[PATCH 00/18] trace-cmd: restructure the project's source tree

2017-12-20 Thread Vladislav Valtchev (VMware)
of the effort in this series has been spent on updating the build system to support the new structure. The side-effect of that is a simpler and easier to maintain build system. Vladislav Valtchev (VMware) (18): trace-cmd: Rename libparsevent to libtraceevent trace-cmd: Move libtraceevent headers

[PATCH 00/18] trace-cmd: restructure the project's source tree

2017-12-20 Thread Vladislav Valtchev (VMware)
of the effort in this series has been spent on updating the build system to support the new structure. The side-effect of that is a simpler and easier to maintain build system. Vladislav Valtchev (VMware) (18): trace-cmd: Rename libparsevent to libtraceevent trace-cmd: Move libtraceevent headers

[PATCH] platform/x86: intel-vbtn: Simplify autorelease logic

2017-12-08 Thread Darren Hart (VMware)
of nesting with a goto and always calculate autorelease and val so we can make a single call to sparse_keymap_report_event. Signed-off-by: Darren Hart (VMware) <dvh...@infradead.org> Cc: Stefan Brüns <stefan.bru...@rwth-aachen.de> Cc: AceLan Kao <acelan@canonical.com> --- N

[PATCH] platform/x86: intel-vbtn: Simplify autorelease logic

2017-12-08 Thread Darren Hart (VMware)
of nesting with a goto and always calculate autorelease and val so we can make a single call to sparse_keymap_report_event. Signed-off-by: Darren Hart (VMware) Cc: Stefan Brüns Cc: AceLan Kao --- Note: This is based on top of Stefan's v2 patch series for intel-vbtn, currently in my review

[PATCH v2 06/10] trace-cmd: Extr. profile-specific code from record_trace

2017-11-30 Thread Vladislav Valtchev (VMware)
This patch extracts the code in record_trace() under if (IS_PROFILE(ctx)): now that profile has its own function, that code could be moved there after removing the IS_PROFILE(ctx) checks, clearly. Signed-off-by: Vladislav Valtchev (VMware) <vladislav.valtc...@gmail.com> --- trace-record.

[PATCH v2 04/10] trace-cmd: Rename trace_profile() to do_trace_profile()

2017-11-30 Thread Vladislav Valtchev (VMware)
all do_trace_profile() after some initialization. Signed-off-by: Vladislav Valtchev (VMware) <vladislav.valtc...@gmail.com> --- trace-local.h | 2 +- trace-profile.c | 2 +- trace-read.c| 2 +- trace-record.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/trace-local.

[PATCH v2 06/10] trace-cmd: Extr. profile-specific code from record_trace

2017-11-30 Thread Vladislav Valtchev (VMware)
This patch extracts the code in record_trace() under if (IS_PROFILE(ctx)): now that profile has its own function, that code could be moved there after removing the IS_PROFILE(ctx) checks, clearly. Signed-off-by: Vladislav Valtchev (VMware) --- trace-record.c | 18 -- 1 file

[PATCH v2 04/10] trace-cmd: Rename trace_profile() to do_trace_profile()

2017-11-30 Thread Vladislav Valtchev (VMware)
all do_trace_profile() after some initialization. Signed-off-by: Vladislav Valtchev (VMware) --- trace-local.h | 2 +- trace-profile.c | 2 +- trace-read.c| 2 +- trace-record.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/trace-local.h b/trace-local.h index c01ef72..fa52

[PATCH v2 05/10] trace-cmd: Making start,extract,stream,profile separate funcs

2017-11-30 Thread Vladislav Valtchev (VMware)
the code simpler to maintain. Signed-off-by: Vladislav Valtchev (VMware) <vladislav.valtc...@gmail.com> --- trace-cmd.c| 8 +++ trace-local.h | 8 +++ trace-record.c | 72 ++ 3 files changed, 64 insertions(+), 24 deletions(-)

[PATCH v2 05/10] trace-cmd: Making start,extract,stream,profile separate funcs

2017-11-30 Thread Vladislav Valtchev (VMware)
the code simpler to maintain. Signed-off-by: Vladislav Valtchev (VMware) --- trace-cmd.c| 8 +++ trace-local.h | 8 +++ trace-record.c | 72 ++ 3 files changed, 64 insertions(+), 24 deletions(-) diff --git a/trace-cmd.c b/trace

[PATCH v2 02/10] trace-cmd: Replacing cmd flags w/ a trace_cmd enum

2017-11-30 Thread Vladislav Valtchev (VMware)
This patch replaces 5 mutually exclusive flag variables (extract, start, stream, record, profile) in trace_record() with a more convenient enum. The point of doing that is to make the code simpler and easier to maintain. Signed-off-by: Vladislav Valtchev (VMware) <vladislav.valtc...@gmail.

[PATCH v2 02/10] trace-cmd: Replacing cmd flags w/ a trace_cmd enum

2017-11-30 Thread Vladislav Valtchev (VMware)
This patch replaces 5 mutually exclusive flag variables (extract, start, stream, record, profile) in trace_record() with a more convenient enum. The point of doing that is to make the code simpler and easier to maintain. Signed-off-by: Vladislav Valtchev (VMware) --- trace-record.c | 94

[PATCH v2 01/10] trace-cmd: Extract parse_record_options() from trace_record()

2017-11-30 Thread Vladislav Valtchev (VMware)
, the scope and the complexity of trace_record(). Signed-off-by: Vladislav Valtchev (VMware) <vladislav.valtc...@gmail.com> --- trace-record.c | 335 ++--- 1 file changed, 179 insertions(+), 156 deletions(-) diff --git a/trace-record.c b

[PATCH v2 01/10] trace-cmd: Extract parse_record_options() from trace_record()

2017-11-30 Thread Vladislav Valtchev (VMware)
, the scope and the complexity of trace_record(). Signed-off-by: Vladislav Valtchev (VMware) --- trace-record.c | 335 ++--- 1 file changed, 179 insertions(+), 156 deletions(-) diff --git a/trace-record.c b/trace-record.c index 770b5bd..487d35e

[PATCH v2 07/10] trace-cmd: Mov init_common_record_context in parse_record_options

2017-11-30 Thread Vladislav Valtchev (VMware)
after the call of parse_record_option(), since they did not actually affect it. Signed-off-by: Vladislav Valtchev (VMware) <vladislav.valtc...@gmail.com> --- trace-record.c | 19 --- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/trace-record.c b/trace-record.c

[PATCH v2 07/10] trace-cmd: Mov init_common_record_context in parse_record_options

2017-11-30 Thread Vladislav Valtchev (VMware)
after the call of parse_record_option(), since they did not actually affect it. Signed-off-by: Vladislav Valtchev (VMware) --- trace-record.c | 19 --- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/trace-record.c b/trace-record.c index 55e81cf..7688565 100644

[PATCH v2 08/10] trace-cmd: Introducing get_trace_cmd_type()

2017-11-30 Thread Vladislav Valtchev (VMware)
This patch aims to reduce the size of common_record_commads_code() by removing a relatively long 'else if' sequence that was used to do the mapping between the current trace command and the trace_type used by it. Signed-off-by: Vladislav Valtchev (VMware) <vladislav.valtc...@gmail.com> ---

[PATCH v2 08/10] trace-cmd: Introducing get_trace_cmd_type()

2017-11-30 Thread Vladislav Valtchev (VMware)
This patch aims to reduce the size of common_record_commads_code() by removing a relatively long 'else if' sequence that was used to do the mapping between the current trace command and the trace_type used by it. Signed-off-by: Vladislav Valtchev (VMware) --- trace-record.c | 34

[PATCH v2 10/10] trace-cmd: Fork record_trace() for the extract case

2017-11-30 Thread Vladislav Valtchev (VMware)
as false] has been applyed to record_trace(). The purpose of doing that is to reduce the amount of branches in both the cases (extract and everything else), making the code simpler to understand and follow but at the price of having some copy-pasted code. Signed-off-by: Vladislav Valtchev (VMware

<    1   2   3   4   5   6   >