[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 2adf21: qemu-trace-stap: changing SYSTEMTAP_T
From: |
Peter Maydell |
Subject: |
[Qemu-commits] [qemu/qemu] 2adf21: qemu-trace-stap: changing SYSTEMTAP_TAPSET conside... |
Date: |
Tue, 13 Jul 2021 06:32:12 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 2adf2164918e2dc74fef2cdd0257917aff488640
https://github.com/qemu/qemu/commit/2adf2164918e2dc74fef2cdd0257917aff488640
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2021-07-12 (Mon, 12 Jul 2021)
Changed paths:
M scripts/qemu-trace-stap
Log Message:
-----------
qemu-trace-stap: changing SYSTEMTAP_TAPSET considered harmful.
Setting SYSTEMTAP_TAPSET to some value other than
/usr/share/systemtap/tapsets results in systemtap not finding the
standard tapset library any more, which in turn breaks tracing because
pid() and other standard systemtap functions are not available any more.
So using SYSTEMTAP_TAPSET to point systemtap to the qemu probes will
only work for the prefix=/usr installs because both qemu and system
tapsets in the same directory then. All other prefixes are broken.
Fix that by using the "-I $tapsetdir" command line switch instead.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-id: 20210601132414.432430-2-kraxel@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Commit: 117856c3748dfda50351d1c0328486ede5f2646c
https://github.com/qemu/qemu/commit/117856c3748dfda50351d1c0328486ede5f2646c
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2021-07-12 (Mon, 12 Jul 2021)
Changed paths:
M monitor/misc.c
M trace/control-target.c
M trace/control.c
M trace/control.h
M trace/qmp.c
M trace/simple.c
Log Message:
-----------
trace: iter init tweaks
Rename trace_event_iter_init() to trace_event_iter_init_pattern(),
add trace_event_iter_init_all() for interating over all events.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20210601132414.432430-3-kraxel@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Commit: c5cc58b176f23f6664d0e12e5956af4d904dcca4
https://github.com/qemu/qemu/commit/c5cc58b176f23f6664d0e12e5956af4d904dcca4
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2021-07-12 (Mon, 12 Jul 2021)
Changed paths:
M trace/control.c
M trace/control.h
Log Message:
-----------
trace: add trace_event_iter_init_group
This allows to interate over an event group.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20210601132414.432430-4-kraxel@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Commit: 3f2a09842f989af020b8355622d5f7fa9bdeb832
https://github.com/qemu/qemu/commit/3f2a09842f989af020b8355622d5f7fa9bdeb832
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2021-07-12 (Mon, 12 Jul 2021)
Changed paths:
M trace/simple.c
Log Message:
-----------
trace/simple: pass iter to st_write_event_mapping
Pass an iter to st_write_event_mapping, so the function can interate
different things depending on how we initialize the iter.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20210601132414.432430-5-kraxel@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Commit: 263b6e96449d07808bc6eb21ab24f3a8b7a49bb6
https://github.com/qemu/qemu/commit/263b6e96449d07808bc6eb21ab24f3a8b7a49bb6
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: 2021-07-12 (Mon, 12 Jul 2021)
Changed paths:
M trace/control.c
M trace/simple.c
M trace/simple.h
Log Message:
-----------
trace/simple: add st_init_group
Add helper function and call it for each trace event group added.
Makes sure that events added at module load time are initialized
properly.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 20210601132414.432430-6-kraxel@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Commit: bbe47ed2928542e7db58146b6108e3f2836f278f
https://github.com/qemu/qemu/commit/bbe47ed2928542e7db58146b6108e3f2836f278f
Author: Paolo Bonzini <pbonzini@redhat.com>
Date: 2021-07-12 (Mon, 12 Jul 2021)
Changed paths:
M configure
M meson.build
M trace/meson.build
Log Message:
-----------
trace, lttng: require .pc files
The next version of lttng-libs will not require liburcu at run time anymore.
Therefore, it is expected that distros will not include the urcubp libraries
anymore when installing lttng-ust-devel.
To avoid future problems, just require pkg-config to detect lttng-ust.
The .pc files for lttng-ust correctly include liburcubp.a for static
builds, and have always done since pkg-config files were added in 2011.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 20210712155710.520889-1-pbonzini@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Commit: 5e05c40ced78ed9a3c25a82ec1f144bb7baffe3f
https://github.com/qemu/qemu/commit/5e05c40ced78ed9a3c25a82ec1f144bb7baffe3f
Author: Peter Maydell <peter.maydell@linaro.org>
Date: 2021-07-13 (Tue, 13 Jul 2021)
Changed paths:
M configure
M meson.build
M monitor/misc.c
M scripts/qemu-trace-stap
M trace/control-target.c
M trace/control.c
M trace/control.h
M trace/meson.build
M trace/qmp.c
M trace/simple.c
M trace/simple.h
Log Message:
-----------
Merge remote-tracking branch
'remotes/stefanha-gitlab/tags/tracing-pull-request' into staging
Pull request
# gpg: Signature made Mon 12 Jul 2021 17:49:46 BST
# gpg: using RSA key 8695A8BFD3F97CDAAC35775A9CA4ABB381AB73C8
# gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>" [full]
# gpg: aka "Stefan Hajnoczi <stefanha@gmail.com>" [full]
# Primary key fingerprint: 8695 A8BF D3F9 7CDA AC35 775A 9CA4 ABB3 81AB 73C8
* remotes/stefanha-gitlab/tags/tracing-pull-request:
trace, lttng: require .pc files
trace/simple: add st_init_group
trace/simple: pass iter to st_write_event_mapping
trace: add trace_event_iter_init_group
trace: iter init tweaks
qemu-trace-stap: changing SYSTEMTAP_TAPSET considered harmful.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Compare: https://github.com/qemu/qemu/compare/eca73713358f...5e05c40ced78