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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.
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
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.
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
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
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 @@
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
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
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.
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
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
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
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
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
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.
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
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
the parent Makefile to
invoke it.
Signed-off-by: Vladislav Valtchev (VMware)
---
Makefile | 42 +--
python/Makefile | 40 +
ctracecmd.i => python/ctracecmd.i | 0
ctracecmdgu
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
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
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.
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
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.
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
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
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
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
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)
---
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
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)
---
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
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
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
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
-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
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
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
-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
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
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 =>
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
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
to invoke it.
Signed-off-by: Vladislav Valtchev (VMware) <vladislav.valtc...@gmail.com>
---
Makefile | 115 ++---
lib/trace-cmd/Makefile | 2 +
plugins/Makefile
to invoke it.
Signed-off-by: Vladislav Valtchev (VMware)
---
Makefile | 115 ++---
lib/trace-cmd/Makefile | 2 +
plugins/Makefile | 69 +
plugin_blk.c => plug
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
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
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
the parent Makefile to
invoke it.
Signed-off-by: Vladislav Valtchev (VMware)
---
Makefile | 41 +--
python/Makefile | 40 ++
ctracecmd.i => python/ctracecmd.i | 0
ctracecmdgu
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.
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
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
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
.
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 $(
.
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>
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
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
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
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
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
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
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
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
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
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
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
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
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.
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.
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
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
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(-)
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
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.
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
, 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
, 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
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
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
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>
---
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
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
301 - 400 of 527 matches
Mail list logo