".
>
> Reported-by: Prerna Saxena
> Signed-off-by: Andreas Färber
> ---
ACK.
Reviewed and tested --Works as expected.
I'll send out an updated follow-up patch later in the day which ensures
PAPR compliance for nomenclature.
Regards,
--
Prerna Saxena
Linux Technology Centre,
IBM Systems and Technology Lab,
Bangalore, India
/2 : Make the device-tree CPU nodes PAPR-compliant.
Changelog from v2:
PATCH 1/2 : Reworked and augmented by Andres Farber against original posted by
Prerna.
PATCH 2/2 : New.
Regards,
--
Prerna Saxena
Linux Technology Centre,
IBM Systems and Technology Lab,
Bangalore, India
t;POWER7_V2.3@0".
Tested-by: Prerna Saxena
Signed-off-by: Andreas Färber
---
hw/ppc/spapr.c | 12 +++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index 16bfab9..59e2fea 100644
--- a/hw/ppc/spapr.c
+++ b/hw/ppc/spapr.c
@@ -1072,7 +1
From: Prerna Saxena
Date: Thu, 8 Aug 2013 06:38:03 +0530
Subject: [PATCH 2/2] Enhance CPU nodes of device tree to be PAPR compliant.
This is based on patch from Andreas which enables the default CPU with KVM
to show up as "-cpu ", such as "POWER7_V2.3@0"
While this
On 08/08/2013 04:04 PM, Andreas Färber wrote:
> Am 08.08.2013 09:26, schrieb Prerna Saxena:
>>
>> From: Prerna Saxena
>> Date: Thu, 8 Aug 2013 06:38:03 +0530
>> Subject: [PATCH 2/2] Enhance CPU nodes of device tree to be PAPR compliant.
>>
>> This is based
-off-by: Prerna Saxena
Signed-off-by: Alexey Kardashevskiy
Reviewed-by: Paul Mackerras
Reviewed-by: Andreas Farber
---
target-ppc/cpu-models.c | 3 +++
target-ppc/cpu-models.h | 1 +
target-ppc/translate_init.c | 34 ++
3 files changed, 38 insertions
evice-tree/cpus/PowerPC,POWER7@0/...
/proc/device-tree/cpus/PowerPC,POWER7@4/...
This also helps userspace tools like ppc64_cpu, which expect the device tree
to be in this format in the guest.
Signed-off-by: Prerna Saxena
---
hw/ppc/spapr.c | 17 ++---
target-ppc
ce tree
to be in this format.
Signed-off-by: Prerna Saxena
Signed-off-by: Alexey Kardashevskiy
Reviewed-by: David Gibson
---
hw/ppc/spapr.c | 18 +++---
target-ppc/cpu-qom.h| 1 +
target-ppc/translate_init.c | 28
3 files c
optimization level is turned down, so that it doesn't
>> recognize that the kvm_enabled() is always false, then this could
>> attempt to compile the ppc asm instructions on an x86 (or
>> whatever) host.
>
> This hunk can be completely replaced by QOM mechanisms - jus
Hi Andreas,
Thanks for the response.
On 07/08/2013 10:15 PM, Andreas Färber wrote:
> Hi,
>
> Am 08.07.2013 17:49, schrieb Prerna Saxena:
>> On 07/08/2013 02:32 PM, Andreas Färber wrote:
>>> -BEGIN PGP SIGNED MESSAGE-
>>> Hash: SHA1
>>>
>
Commit 43dc2a64 replaced assert() with abort(), but didnt remove statements
that followed these calls. So current code still has return values set after
a call to abort(). Such statements will never execute and need to be cleaned
up.
Signed-off-by: Prerna Saxena
---
block/vvfat.c | 17
precede calls to abort().
Prerna Saxena (2):
Block: Cleanup vvfat.c to remove dead code.
Debug : Add error messages before a call to debug().
block.c| 1 +
block/block-backend.c | 4
block/curl.c | 1 +
block/io.c | 1 +
block/linux-aio.c | 1
Qemu code has abort() calls in various places which raises a SIGABRT;
This patch adds error messages before (most)calls to abort(), so that
it is easier to determine why QEMU died.
Signed-off-by: Prerna Saxena
---
block.c| 1 +
block/block-backend.c | 4
block/curl.c
From: Prerna Saxena
The current vhost-user protocol requires the client to send responses to only
few commands. For the remaining commands, it is impossible for QEMU to know the
status of the requested operation -- ie, did it succeed at all, and if so, at
what time.
This is inconvenient, and
From: Prerna Saxena
Signed-off-by: Prerna Saxena
---
docs/specs/vhost-user.txt | 36 +++
hw/virtio/vhost-user.c| 153 +-
2 files changed, 186 insertions(+), 3 deletions(-)
diff --git a/docs/specs/vhost-user.txt b/docs/specs/vhost
On 10/22/2010 08:57 PM, Stefan Hajnoczi wrote:
On Thu, Oct 21, 2010 at 03:10:18PM +0530, Prerna Saxena wrote:
trace-event : QMP interface to change state of a trace-event.
(Analogous to hmp command : trace-event )
Signed-off-by: Prerna Saxena
---
qmp-commands.hx | 32
the full build
path for defining the probe point. Eg,
probe qemu.qemu_malloc =
process("/Path/to/build/dir/bin/qemu").mark("qemu_malloc") { .. }
--
Prerna Saxena
Linux Technology Centre,
IBM Systems and Technology Lab,
Bangalore, India
This patch set introduces two QMP interfaces for tracing :
* query-trace: to list current contents of trace-buffer
* query-trace-events : to list all available trace-events with their state.
--
Prerna Saxena
Linux Technology Centre,
IBM Systems and Technology Lab,
Bangalore, India
[PATCH 1/2] Introduce QMP interfaces : query-trace & query-trace-events
Signed-off-by: Prerna Saxena
---
monitor.c | 46 ++
simpletrace.c | 54 ++
simpletrace.h |2 ++
3 files cha
[PATCH 2/2] Add documentation for QMP commands: query-trace &
query-trace-events.
Signed-off-by: Prerna Saxena
---
qmp-commands.hx | 53 +
1 files changed, 53 insertions(+), 0 deletions(-)
diff --git a/qmp-commands.hx b/qmp-command
ut.
- Misc cleanups.
--
Prerna Saxena
Linux Technology Centre,
IBM Systems and Technology Lab,
Bangalore, India
[PATCH 1/2] Introduce QMP interfaces : query-trace & query-trace-events
Signed-off-by: Prerna Saxena
---
monitor.c | 46 +---
simpletrace.c | 58 +
simpletrace.h |4 +++
3 files cha
[PATCH 2/2] Add documentation for QMP commands: query-trace &
query-trace-events.
Signed-off-by: Prerna Saxena
---
qmp-commands.hx | 71 +++
1 files changed, 71 insertions(+), 0 deletions(-)
diff --git a/qmp-commands.hx b/qmp-command
and
st_print_trace_events_to_qlist() to return QList*
Changes v1 -> v2 :
- Add 'timestamp' field for query-trace output.
- Misc cleanups.
--
Prerna Saxena
Linux Technology Centre,
IBM Systems and Technology Lab,
Bangalore, India
[PATCH 1/2] Introduce QMP interfaces : query-trace & query-trace-events.
Signed-off-by: Prerna Saxena
---
monitor.c | 40 +++---
simpletrace.c | 58 +
simpletrace.h |4 +++
3 files changed
[PATCH 2/2] Add documentation for QMP commands: query-trace &
query-trace-events.
Signed-off-by: Prerna Saxena
---
qmp-commands.hx | 71 +++
1 files changed, 71 insertions(+), 0 deletions(-)
diff --git a/qmp-commands.hx b/qmp-command
On 10/18/2010 07:51 PM, Luiz Capitulino wrote:
On Mon, 18 Oct 2010 11:36:55 +0530
Prerna Saxena wrote:
This patch set introduces two QMP interfaces for tracing :
* query-trace: to list current contents of trace-buffer
* query-trace-events : to list all available trace-events with
:
- Add 'timestamp' field for query-trace output.
- Misc cleanups.
--
Prerna Saxena
Linux Technology Centre,
IBM Systems and Technology Lab,
Bangalore, India
[PATCH 1/2] Introduce QMP interfaces :
- query-trace
- query-trace-events
- query-trace-file
Signed-off-by: Prerna Saxena
---
monitor.c | 53 ---
simpletrace.c | 69 +
simpletrace.h
[PATCH 2/2] Add documentation for QMP commands:
- query-trace
- query-trace-events
- query-trace-file.
Signed-off-by: Prerna Saxena
---
qmp-commands.hx | 94 +++
1 files changed, 94 insertions(+), 0 deletions(-)
diff --git a/qmp
On 10/19/2010 11:57 AM, Prerna Saxena wrote:
[PATCH 2/2] Add documentation for QMP commands:
- query-trace
- query-trace-events
- query-trace-file.
I've been trying ways to avoid building this documentation for other
trace backends ( since these commands are only available wit
7;ll post the final version as a part of
the cumulative QMP patchset for tracing ( including patches for query-*
commands posted earlier :
http://lists.gnu.org/archive/html/qemu-devel/2010-10/msg01232.html )
Signed-off-by: Prerna Saxena
---
hmp-commands.hx |2 +-
monitor.c
Hi Luiz,
Thanks for your feedback.
On 10/21/2010 12:47 AM, Luiz Capitulino wrote:
On Tue, 19 Oct 2010 11:57:50 +0530
Prerna Saxena wrote:
[PATCH 2/2] Add documentation for QMP commands:
- query-trace
- query-trace-events
- query-trace-file.
Please, split this. Each command should be
Thanks for the review!
On 10/21/2010 12:53 AM, Luiz Capitulino wrote:
On Wed, 20 Oct 2010 15:28:49 +0530
Prerna Saxena wrote:
QMP command trace-event to toggle state of a trace-event.
Illustration :
-> { "execute": "trace-event", "arguments": { "
QMP interface "query-trace" to list current contents of trace-buffer.
( Analogous to hmp command : info trace )
Signed-off-by: Prerna Saxena
---
qmp-commands.hx | 51 +++
1 files changed, 51 insertions(+), 0 deletions(-)
diff -
'query-trace-events' : QMP interface to display currently available
trace-events with their state.
( Analogous to hmp command : info trace-events )
Signed-off-by: Prerna Saxena
---
qmp-commands.hx | 32
1 files changed, 32 insertions(+), 0 deletion
set-trace-file : QMP command to:
- Enable/disable logging traces to file
- Set a new output file
- Flush a semi-filled trace-buffer to output file.
Signed-off-by: Prerna Saxena
---
qmp-commands.hx | 41 +
1 files changed, 41 insertions
'query-trace-file' : QMP interface to find currently set trace file and
its status.
(Analogous to hmp command : trace-file)
Signed-off-by: Prerna Saxena
---
qmp-commands.hx | 24
1 files changed, 24 insertions(+), 0 deletions(-)
diff --git a/qmp-command
trace-event : QMP interface to change state of a trace-event.
(Analogous to hmp command : trace-event )
Signed-off-by: Prerna Saxena
---
qmp-commands.hx | 32
1 files changed, 32 insertions(+), 0 deletions(-)
diff --git a/qmp-commands.hx b/qmp-commands.hx
: to display currently set trace file and its status.
--
Prerna Saxena
Linux Technology Centre,
IBM Systems and Technology Lab,
Bangalore, India
e improved in
my current implementation :-)
3. Allow events in any execution context (cpu, io, aio emulation threads).
Agree.
4. Make it easy to add new events.
Agree ! I'm trying to provide a unified macro interface like trace
events which makes it easy enough to add new events.
Re
cing. I'll take care of
merging pieces together.
Looking forward to suggestions..
--
Prerna Saxena
Linux Technology Centre,
IBM Systems and Technology Lab,
Bangalore, India
This function is used for hash table lookups by tracepoint framework.
The patch adds trivial changes to reuse it.
Regards,
--
Prerna Saxena
Linux Technology Centre,
IBM Systems and Technology Lab,
Bangalore, India
Signed-off by : Prerna (pre...@linux.vnet.ibm.com)
Index: qemu/qdict.c
: to see available tracepoints and their status.
3. trace [on|off] : to enable / disable trace data collection.
4. tracepoint ABC [on|off] : to enable / disable traces from a specific
tracepoint, eg ABC
--
Prerna Saxena
Linux Technology Centre,
IBM Systems and Technology Lab,
Bangalore, India
should have a 'trace_name(args..)'
(Remember to include "trace-entries.h" in the file where the tracepoint
is logged)
This patch adds tracepoints to virtio_blk_rw_complete() and paio_submit()
--
Prerna Saxena
Linux Technology Centre,
IBM Systems and Technology Lab,
Bangalore,
ces can be retained as is.
Also, I'd implemented the monitor interface for enabling/disabling data
logging for a given tracepoint (for a running guest) Not sure if this is
supported in the set of patches you've posted ? It might be a good to
have feature.
--
Prerna Saxena
Linux Technology Centre,
IBM Systems and Technology Lab,
Bangalore, India
t would be good to have some pointers on what
assumptions can / not be made for concurrent thread execution in qemu,
and what could be done to safeguard tracing in such hot-paths ?
Regards,
--
Prerna Saxena
Linux Technology Centre,
IBM Systems and Technology Lab,
Bangalore, India
This patch is a minor fix over Stefan's tracing framework, to enable
compilation when the build directory is different from source.
Signed-off-by: Prerna Saxena
---
Makefile |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index a9f79a9..ef
: to view all available tracepoints and their
state.
- tracepoint NAME on|off: to enable/disable the logging of data from
tracepoint 'NAME'.
--
Prerna Saxena
Linux Technology Centre,
IBM Systems and Technology Lab,
Bangalore, India
This exports tdb_hash() for use by tracing framework.
Signed-off-by: Prerna Saxena
---
qdict.c |2 +-
qdict.h |2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/qdict.c b/qdict.c
index 175bc17..5261872 100644
--- a/qdict.c
+++ b/qdict.c
@@ -56,7 +56,7 @@ QDict
This introduces the monitor command 'trace' to read current contents of
trace buffer.
Signed-off-by: Prerna Saxena
---
configure |3 +++
monitor.c |3 +++
qemu-monitor.hx | 16
simpletrace.c | 15 +++
tracetool |4 +++
-- there is scope
for optimizations that can be employed here to speed this up.
Signed-off-by: Prerna Saxena
---
monitor.c | 21 +
qemu-monitor.hx | 16
simpletrace.c | 55 ++-
tracetool | 30
enough to dump entire arrays if need be --
which is not as easily accomplished in the proposed approach as with
kernel tracepoints.
--
Prerna Saxena
Linux Technology Centre,
IBM Systems and Technology Lab,
Bangalore, India
This introduces the monitor command 'info trace' to display current
contents of trace buffer.
Signed-off-by: Prerna Saxena
---
configure |3 +++
monitor.c | 12
qemu-monitor.hx |4
simpletrace.c | 12
tracetool |2 +
For now, I simply export tdb_hash() from qdict.h for use by tracing
framework.
Luiz suggested renaming and exporting it from a location other than
qdict.h . Would "qemu-common.h" be a better place?
Signed-off-by: Prerna Saxena
---
qdict.c |2 +-
qdict.h |2 ++
2 files
oring optimizations that can
be employed to make this faster.
Signed-off-by: Prerna Saxena
---
monitor.c | 16 +++-
qemu-monitor.hx | 18 ++
simpletrace.c | 53 +
tracetool |
ents of buffer, in
place of 'trace'.
- Cleanups
--
Prerna Saxena
Linux Technology Centre,
IBM Systems and Technology Lab,
Bangalore, India
On 06/10/2010 02:05 AM, Luiz Capitulino wrote:
On Tue, 8 Jun 2010 12:31:38 +0530
Prerna Saxena wrote:
This exports tdb_hash() for use by tracing framework.
Suggest to rename it (eg. qemu_hash()) and move it to a better location, qdict
is not the best module to export such service
Hi Luiz,
Thanks for your feedback.
On 06/10/2010 02:07 AM, Luiz Capitulino wrote:
On Tue, 8 Jun 2010 12:34:37 +0530
Prerna Saxena wrote:
This introduces the monitor command 'trace' to read current contents of
trace buffer.
...
diff --git a/simpletrace.c b/simpletrace.c
ind
Hi Luiz,
Thanks for taking time to review it.
On 06/10/2010 02:13 AM, Luiz Capitulino wrote:
On Tue, 8 Jun 2010 12:38:58 +0530
Prerna Saxena wrote:
This patch adds support for dynamically enabling/disabling of tracepoints.
Monitor commands added :
Monitor has a bool type, please
rent contents of the trace buffer
- info tracepoints : to view all available tracepoints and their state.
- tracepoint NAME on|off : to enable/disable the logging of data
from tracepoint 'NAME' to on/off.
Changelog :
- Clean-ups from v2, particularly relating to export of tdb_hash()
--
Prerna
paio_submit off
disables logging of data when
paio_submit is hit.
Signed-off-by: Prerna Saxena
---
monitor.c | 16 ++
qemu-monitor.hx | 18
simplet
Monitor command 'info trace' to display contents of trace buffer
Signed-off-by: Prerna Saxena
---
configure |3 +++
monitor.c | 12
qemu-monitor.hx |4
simpletrace.c | 13 +
tracetool |2 ++
5 files changed, 34 insert
Rename tdb_hash() to qemu_hash().
Move definition from qdict.c to a new file qemu-misc.c for use by tracing
infrastructure.
Signed-off-by: Prerna Saxena
---
Makefile.objs |2 +-
qdict.c | 24
qemu-common.h |3 +++
qemu-misc.c | 24
Hi Stefan, Jan,
Thanks for taking a look.
On 06/17/2010 08:38 PM, Stefan Hajnoczi wrote:
On Wed, Jun 16, 2010 at 06:12:06PM +0530, Prerna Saxena wrote:
diff --git a/simpletrace.c b/simpletrace.c
index 2fec4d3..239ae3f 100644
--- a/simpletrace.c
+++ b/simpletrace.c
@@ -62,3 +62,16 @@ void
On 06/17/2010 09:33 PM, Stefan Hajnoczi wrote:
On Wed, Jun 16, 2010 at 06:14:35PM +0530, Prerna Saxena wrote:
This patch adds support for dynamically enabling/disabling of tracepoints.
This is done by internally maintaining each tracepoint's state, and
permitting logging of data f
user to -net tap ? )
I'm presently aware of these; it would be good to get more inputs on
what more can be done here.
--
Prerna Saxena
Linux Technology Centre,
IBM Systems and Technology Lab,
Bangalore, India
)set_cache ide0-hd0
presently errors out. Ideally, it should display current cache setting
for the given device ide0-hd0
--
Prerna Saxena
Linux Technology Centre,
IBM Systems and Technology Lab,
Bangalore, India
user_print = monitor_user_noop,
+.mhandler.cmd_new = do_set_cache,
+},
+STEXI
+@item set_cache
+@findex set_cache
+Set cache options for a block device.
+ETEXI
{
.name = "acl_show",
.args_type = "aclname:s",
--
1.7.2.3
--
Prerna Saxena
Linux Technology Centre,
IBM Systems and Technology Lab,
Bangalore, India
;'open_flags': %d }",
bs->device_name, type, bs->removable,
-bs->locked);
+bs->locked, bs->open_flags);
if (bs->drv) {
QObject *obj;
--
1.7.2.3
--
Prerna Saxena
Linux Technology Centre,
IBM Systems and Technology Lab,
Bangalore, India
lace of 'trace'.
2. Cleanups
Todos :
1. Integration with QMP
2. More tracepoints need to be added for instrumenting other qemu components
such as virtio drivers, etc.
--
Prerna Saxena
Linux Technology Centre,
IBM Systems and Technology Lab,
Bangalore, India
Change type 'TraceEvent' to 'TraceEventID'
Signed-off-by: Prerna Saxena
---
simpletrace.c | 12 ++--
tracetool | 12 ++--
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/simpletrace.c b/simpletrace.c
index 2fec4d3..b488380 100644
Monitor command 'info trace' to display contents of trace buffer
Signed-off-by: Prerna Saxena
---
configure |3 +++
monitor.c | 12
qemu-monitor.hx |4
simpletrace.c | 12
tracetool |1 +
5 files changed, 32 insert
paio_submit off
disables logging of data when
paio_submit is hit.
By default, all trace-events are disabled. One can enable desired trace-events
via the monitor.
Signed-off-by: Prerna Saxena
---
monitor.c | 16
qemu-mo
[PATCH] Restore parallel building
This is based on :
http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/tracing
Signed-off-by: Prerna Saxena
---
Makefile |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index e64e397..de9b175 100644
--- a
stigating scope for further optimization.
Owner : Prerna
Thanks,
--
Prerna Saxena
Linux Technology Centre,
IBM Systems and Technology Lab,
Bangalore, India
these are needed by do_info_trace which dumps buffer
contents.
Signed-off-by: Prerna Saxena
---
monitor.c | 21 +
simpletrace.c | 39 ++-
tracetool | 16
3 files changed, 39 insertions(+), 37 deletions(-)
diff
-by: Prerna Saxena
---
Makefile.target |7 +--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/Makefile.target b/Makefile.target
index d58b201..b433112 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -29,12 +29,15 @@ QEMU_PROG=qemu-system-$(TARGET_ARCH2)$(EXESUF)
endif
-by: Prerna Saxena
---
Makefile.target |7 +--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/Makefile.target b/Makefile.target
index d58b201..b433112 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -29,12 +29,15 @@ QEMU_PROG=qemu-system-$(TARGET_ARCH2)$(EXESUF
On Thu, 1 Jul 2010 10:18:41 +0100
Stefan Hajnoczi wrote:
> On Wed, Jun 30, 2010 at 09:11:45PM +0530, Prerna Saxena wrote:
> > [PATCH 1/1] Move definitions of monitor command handlers (do_info_trace,
> > do_info_all_trace_events) to monitor.c. This removes build errors for
> &
On 07/07/2010 01:10 AM, Anthony Liguori wrote:
On 07/02/2010 06:15 AM, Prerna Saxena wrote:
Set up host kernel include paths specified by --kerneldir
When host kernel headers are placed in non-standard paths, the
KVM_CFLAGS are presently invoked only for a few .c files
(kvm*.c,vhost*.c) and
[PATCH] Separate monitor command handler interfaces and tracing internals.
Signed-off-by: Prerna Saxena
---
monitor.c | 23 +++
simpletrace.c | 51 +--
tracetool |7 +++
3 files changed, 59 insertions
n case qemu is started with -smp 2 or
more. We might need to enforce some kind of synchronisation so that
threads on other cpus do not log traces while the buffer is being
sync'ed. ( For now, I have not been able to get upstream qemu run with
-smp. Going forward, this is something that mig
On 07/08/2010 02:50 PM, Stefan Hajnoczi wrote:
On Thu, Jul 08, 2010 at 10:58:58AM +0530, Prerna Saxena wrote:
[PATCH] Separate monitor command handler interfaces and tracing internals.
Signed-off-by: Prerna Saxena
---
monitor.c | 23 +++
simpletrace.c | 51
ff-by: Prerna Saxena
---
configure | 20
simpletrace.c | 13 -
tracetool |1 +
vl.c |8
4 files changed, 41 insertions(+), 1 deletions(-)
diff --git a/configure b/configure
index 02bf602..18cb6ab 100755
--- a/configure
[PATCH] Separate monitor command handler interfaces and tracing internals.
Changelog from v3 :
1. Cleanups.
Signed-off-by: Prerna Saxena
---
monitor.c | 23 +++
simpletrace.c | 52 ++--
tracetool |7 +++
3
On 07/08/2010 07:04 PM, Stefan Hajnoczi wrote:
On Thu, Jul 08, 2010 at 04:50:52PM +0530, Prerna Saxena wrote:
On 07/08/2010 02:50 PM, Stefan Hajnoczi wrote:
On Thu, Jul 08, 2010 at 10:58:58AM +0530, Prerna Saxena wrote:
[PATCH] Separate monitor command handler interfaces and tracing internals
[PATCH] Separate monitor command handler interfaces and tracing internals.
Changelog from v3:
- cleanup ( removed unnecessary references to 'rec' )
Signed-off-by: Prerna Saxena
---
monitor.c | 23 +++
simpletrac
vents are enabled by default.
TODO :
This could be enhanced when the trace-event namespace is partitioned into a
group and an ID within that group. In such a case, marking a group as enabled
would automatically enable all trace-events listed under it.
Signed-off-by: Prerna Saxena
---
trace-events |
ption
set at config-time.
Also, this adds monitor sub-command 'set' to trace-file commands to
dynamically change trace log file at runtime.
Eg,
(qemu)trace-file set FILENAME
This allows one to set trace outputs to FILENAME from the default
specified at startup.
Signed-off-by:
1 :
- Cleanups.
Signed-off-by: Prerna Saxena
---
monitor.c |6 ++
qemu-monitor.hx |6 +++---
qemu-options.hx | 11 +++
simpletrace.c | 41 +++--
tracetool |1 +
vl.c| 20
6 files changed,
On 08/03/2010 07:45 PM, Stefan Hajnoczi wrote:
On Tue, Aug 3, 2010 at 6:37 AM, Prerna Saxena wrote:
This patch adds an optional command line switch '-trace' to specify the
filename to write traces to, when qemu starts.
Eg, If compiled with the 'simple' trace backend,
[t...@
e outputs to FILENAME from the default
specified at startup.
Changelog from v2 :
- Cleanups.
Signed-off-by: Prerna Saxena
---
monitor.c |6 ++
qemu-monitor.hx |6 +++---
qemu-options.hx | 11 +++
simpletrace.c | 41 +++--
Fix to ensure rebuild is properly triggered when switching trace backends
using ./configure.
Also, when using the 'ust' backend, check if the relevant headers are
available at host.
Signed-off-by: Prerna Saxena
---
Makefile |4 ++--
configure | 20 +---
2 fil
A build warning arising out of 'incompatible pointer assignment' shows
up at times. This will take care of it.
Signed-off-by: Prerna Saxena
---
vl.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/vl.c b/vl.c
index 46314d4..989c35b 100644
--- a/vl.c
*/
.timestamp_ns = 0xf2b177cb0aa429b4, /* magic number */
error.
Also, it would be better to #define the magic number to some macro, and
use that instead of using the constant directly.
Regards,
--
Prerna Saxena
Linux Technology Centre,
IBM Systems and Technology Lab
trace_args="$trace_args, $(cast_args_to_ulong "$1")"
+trace_args="$trace_args, $(cast_args_to_uint64_t "$1")"
fi
cat<
--
Prerna Saxena
Linux Technology Centre,
IBM Systems and Technology Lab,
Bangalore, India
This patch adds few more trace events for tracking IO and also to trace
balloon event flagged via the monitor.
Signed-off-by: Prerna Saxena
---
balloon.c|2 ++
ioport.c |7 +++
trace-events |8
3 files changed, 17 insertions(+), 0 deletions(-)
diff --git a
uintptr_t, and then to uint64_t to bypass warnings.
Signed-off-by: Prerna Saxena
---
simpletrace.c | 41 ++---
simpletrace.h | 13 +++--
simpletrace.py |2 +-
tracetool |6 +++---
4 files changed, 37 insertions(+), 25 deletions(-)
diff
Set of patches to add trace-events for tracking IO and balloon events
flagged via the monitor.
--
Prerna Saxena
Linux Technology Centre,
IBM Systems and Technology Lab,
Bangalore, India
1 - 100 of 142 matches
Mail list logo