- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have started docker process with below command
docker run --privileged=true --cap-add=SYS_PTRACE -it <docker image name and other flags>
After starting my docker i go inside docker and running my application....an the same i want to profile.
For profiling i get the pid of my process that is running inside the docker by ps -eaf | grep <my application name>
I use below command
$ amplxe-cl -collect hotspots -target-pid=$PID
Once i start the amplxe it kills my running process and give seg fault with below error
MPLXE_TPSSCOLLECTOR: init:1300: attach_notification_result == tpss_er_success : attach_notification_result = 14
Assertion failed: init:1300: attach_notification_result == tpss_er_success : attach_notification_result = 14.
Is it possible to launch Vtune with docker process?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
VTune supports profiling application within docker. Based on your environment these two links might help you walk through the profiling:
https://software.intel.com/en-us/vtune-amplifier-help-profiling-container-targets
https://software.intel.com/en-us/vtune-amplifier-cookbook-java-profiling-in-docker-container
Can you please share what version of VTune are you using?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Abhinav S. (Intel) wrote:https://software.intel.com/en-us/vtune-amplifier-help-profiling-containe..
This link uses only "collector-type:hw-events" (maybe "sampling-mode=hw" in VTune2019).
I think only hw evens works fine.
Avinash, you can try:
$amplxe-cl -collect hotspots -knob sampling-mode=hw -knob enable-stack-collection=true -analyze-system -d 60
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page