qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1391942] [NEW] Unnecessary events option of the trace argument with UST backend
@ 2014-11-12 16:01 Francis Deslauriers
  2015-01-07 14:35 ` Stefan Hajnoczi
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Francis Deslauriers @ 2014-11-12 16:01 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

When running configure with the --enable-trace-backends=ust option and compiling. 
The user should not have to specify a the "events" and "file" options because they are not used with that tracing framework.

Right now, in order the use this option the need to specify a dummy
events file.

This fails:
$> qemu-system-x86_64 -hda debian_wheezy_amd64_standard.qcow2 -trace -m 512
qemu-system-x86_64: -trace -m: Invalid parameter '-m'

This works:
$> qemu-system-x86_64 -hda debian_wheezy_amd64_standard.qcow2 -trace events=dummy-events.txt -m 512
VNC server running on `127.0.0.1:5900'

I am using version:
$> qemu-system-x86_64 --version
QEMU emulator version 2.1.90, Copyright (c) 2003-2008 Fabrice Bellard

** Affects: qemu
     Importance: Undecided
         Status: New


** Tags: lttng trace ust

** Description changed:

- When running configure with the --enable-trace-backends=ust option the
- user should not have to specify a the "events" and "file" options
- because they are not used with that tracing framework.
+ When running configure with the --enable-trace-backends=ust option and compiling. 
+ The user should not have to specify a the "events" and "file" options because they are not used with that tracing framework.
  
  Right now, in order the use this option the need to specify a dummy
  events file.
  
  This fails:
- $> qemu-system-x86_64 -hda debian_wheezy_amd64_standard.qcow2 -trace -m 512               
+ $> qemu-system-x86_64 -hda debian_wheezy_amd64_standard.qcow2 -trace -m 512
  qemu-system-x86_64: -trace -m: Invalid parameter '-m'
  
  This works:
  $> qemu-system-x86_64 -hda debian_wheezy_amd64_standard.qcow2 -trace events=dummy-events.txt -m 512
  VNC server running on `127.0.0.1:5900'
  
  I am using version:
- $> qemu-system-x86_64 --version 
+ $> qemu-system-x86_64 --version
  QEMU emulator version 2.1.90, Copyright (c) 2003-2008 Fabrice Bellard

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1391942

Title:
  Unnecessary events option of the trace argument with UST backend

Status in QEMU:
  New

Bug description:
  When running configure with the --enable-trace-backends=ust option and compiling. 
  The user should not have to specify a the "events" and "file" options because they are not used with that tracing framework.

  Right now, in order the use this option the need to specify a dummy
  events file.

  This fails:
  $> qemu-system-x86_64 -hda debian_wheezy_amd64_standard.qcow2 -trace -m 512
  qemu-system-x86_64: -trace -m: Invalid parameter '-m'

  This works:
  $> qemu-system-x86_64 -hda debian_wheezy_amd64_standard.qcow2 -trace events=dummy-events.txt -m 512
  VNC server running on `127.0.0.1:5900'

  I am using version:
  $> qemu-system-x86_64 --version
  QEMU emulator version 2.1.90, Copyright (c) 2003-2008 Fabrice Bellard

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1391942/+subscriptions

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [Qemu-devel] [Bug 1391942] [NEW] Unnecessary events option of the trace argument with UST backend
  2014-11-12 16:01 [Qemu-devel] [Bug 1391942] [NEW] Unnecessary events option of the trace argument with UST backend Francis Deslauriers
@ 2015-01-07 14:35 ` Stefan Hajnoczi
  2015-01-07 16:20 ` [Qemu-devel] [Bug 1391942] " Francis Deslauriers
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Stefan Hajnoczi @ 2015-01-07 14:35 UTC (permalink / raw)
  To: Bug 1391942; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 887 bytes --]

On Wed, Nov 12, 2014 at 04:01:38PM -0000, Francis Deslauriers wrote:
> When running configure with the --enable-trace-backends=ust option and compiling. 
> The user should not have to specify a the "events" and "file" options because they are not used with that tracing framework.
> 
> Right now, in order the use this option the need to specify a dummy
> events file.
> 
> This fails:
> $> qemu-system-x86_64 -hda debian_wheezy_amd64_standard.qcow2 -trace -m 512
> qemu-system-x86_64: -trace -m: Invalid parameter '-m'
> 
> This works:
> $> qemu-system-x86_64 -hda debian_wheezy_amd64_standard.qcow2 -trace events=dummy-events.txt -m 512
> VNC server running on `127.0.0.1:5900'
> 
> I am using version:
> $> qemu-system-x86_64 --version
> QEMU emulator version 2.1.90, Copyright (c) 2003-2008 Fabrice Bellard

What happens when you pass no -trace option?

Stefan

[-- Attachment #2: Type: application/pgp-signature, Size: 473 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Qemu-devel] [Bug 1391942] Re: Unnecessary events option of the trace argument with UST backend
  2014-11-12 16:01 [Qemu-devel] [Bug 1391942] [NEW] Unnecessary events option of the trace argument with UST backend Francis Deslauriers
  2015-01-07 14:35 ` Stefan Hajnoczi
@ 2015-01-07 16:20 ` Francis Deslauriers
  2020-11-19 20:48 ` Thomas Huth
  2021-01-19  4:17 ` Launchpad Bug Tracker
  3 siblings, 0 replies; 5+ messages in thread
From: Francis Deslauriers @ 2015-01-07 16:20 UTC (permalink / raw)
  To: qemu-devel

It works without the -trace option.

Want I meant with this post is that the "events" argument of the "-trace" option has no effect in the case of using LTTng UST as the tracing backend because the events are enabled from the LTTng tracer itself.
 
Is there some way I can make an argument optional or conditional to a tracing framework?

Thanks,

Francis

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1391942

Title:
  Unnecessary events option of the trace argument with UST backend

Status in QEMU:
  New

Bug description:
  When running configure with the --enable-trace-backends=ust option and compiling. 
  The user should not have to specify a the "events" and "file" options because they are not used with that tracing framework.

  Right now, in order the use this option the need to specify a dummy
  events file.

  This fails:
  $> qemu-system-x86_64 -hda debian_wheezy_amd64_standard.qcow2 -trace -m 512
  qemu-system-x86_64: -trace -m: Invalid parameter '-m'

  This works:
  $> qemu-system-x86_64 -hda debian_wheezy_amd64_standard.qcow2 -trace events=dummy-events.txt -m 512
  VNC server running on `127.0.0.1:5900'

  I am using version:
  $> qemu-system-x86_64 --version
  QEMU emulator version 2.1.90, Copyright (c) 2003-2008 Fabrice Bellard

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1391942/+subscriptions

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 1391942] Re: Unnecessary events option of the trace argument with UST backend
  2014-11-12 16:01 [Qemu-devel] [Bug 1391942] [NEW] Unnecessary events option of the trace argument with UST backend Francis Deslauriers
  2015-01-07 14:35 ` Stefan Hajnoczi
  2015-01-07 16:20 ` [Qemu-devel] [Bug 1391942] " Francis Deslauriers
@ 2020-11-19 20:48 ` Thomas Huth
  2021-01-19  4:17 ` Launchpad Bug Tracker
  3 siblings, 0 replies; 5+ messages in thread
From: Thomas Huth @ 2020-11-19 20:48 UTC (permalink / raw)
  To: qemu-devel

The QEMU project is currently considering to move its bug tracking to another system. For this we need to know which bugs are still valid and which could be closed already. Thus we are setting older bugs to "Incomplete" now.
If you still think this bug report here is valid, then please switch the state back to "New" within the next 60 days, otherwise this report will be marked as "Expired". Or mark it as "Fix Released" if the problem has been solved with a newer version of QEMU already. Thank you and sorry for the inconvenience.

** Changed in: qemu
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1391942

Title:
  Unnecessary events option of the trace argument with UST backend

Status in QEMU:
  Incomplete

Bug description:
  When running configure with the --enable-trace-backends=ust option and compiling. 
  The user should not have to specify a the "events" and "file" options because they are not used with that tracing framework.

  Right now, in order the use this option the need to specify a dummy
  events file.

  This fails:
  $> qemu-system-x86_64 -hda debian_wheezy_amd64_standard.qcow2 -trace -m 512
  qemu-system-x86_64: -trace -m: Invalid parameter '-m'

  This works:
  $> qemu-system-x86_64 -hda debian_wheezy_amd64_standard.qcow2 -trace events=dummy-events.txt -m 512
  VNC server running on `127.0.0.1:5900'

  I am using version:
  $> qemu-system-x86_64 --version
  QEMU emulator version 2.1.90, Copyright (c) 2003-2008 Fabrice Bellard

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1391942/+subscriptions


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 1391942] Re: Unnecessary events option of the trace argument with UST backend
  2014-11-12 16:01 [Qemu-devel] [Bug 1391942] [NEW] Unnecessary events option of the trace argument with UST backend Francis Deslauriers
                   ` (2 preceding siblings ...)
  2020-11-19 20:48 ` Thomas Huth
@ 2021-01-19  4:17 ` Launchpad Bug Tracker
  3 siblings, 0 replies; 5+ messages in thread
From: Launchpad Bug Tracker @ 2021-01-19  4:17 UTC (permalink / raw)
  To: qemu-devel

[Expired for QEMU because there has been no activity for 60 days.]

** Changed in: qemu
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1391942

Title:
  Unnecessary events option of the trace argument with UST backend

Status in QEMU:
  Expired

Bug description:
  When running configure with the --enable-trace-backends=ust option and compiling. 
  The user should not have to specify a the "events" and "file" options because they are not used with that tracing framework.

  Right now, in order the use this option the need to specify a dummy
  events file.

  This fails:
  $> qemu-system-x86_64 -hda debian_wheezy_amd64_standard.qcow2 -trace -m 512
  qemu-system-x86_64: -trace -m: Invalid parameter '-m'

  This works:
  $> qemu-system-x86_64 -hda debian_wheezy_amd64_standard.qcow2 -trace events=dummy-events.txt -m 512
  VNC server running on `127.0.0.1:5900'

  I am using version:
  $> qemu-system-x86_64 --version
  QEMU emulator version 2.1.90, Copyright (c) 2003-2008 Fabrice Bellard

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1391942/+subscriptions


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-01-19  4:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-12 16:01 [Qemu-devel] [Bug 1391942] [NEW] Unnecessary events option of the trace argument with UST backend Francis Deslauriers
2015-01-07 14:35 ` Stefan Hajnoczi
2015-01-07 16:20 ` [Qemu-devel] [Bug 1391942] " Francis Deslauriers
2020-11-19 20:48 ` Thomas Huth
2021-01-19  4:17 ` Launchpad Bug Tracker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).