corefx-tools icon indicating copy to clipboard operation
corefx-tools copied to clipboard

perfcollect support amazon linux distribution

Open RussKeldorph opened this issue 7 years ago • 3 comments

From @lbthanh on September 5, 2018 5:34

perfcollect still not support to Amazon Linux distribution.

https://github.com/dotnet/coreclr/blob/master/Documentation/project-docs/linux-performance-tracing.md

I work around with RHEL repo but dependency didn't work.

$ wget -P /etc/yum.repos.d/ https://packages.efficios.com/repo.files/EfficiOS-RHEL7-x86-64.repo

$ sudo yum --skip-broken install lttng-tools lttng-ust kmod-lttng-modules

Bellow error messages: Packages skipped because of dependency problems: kernel-4.9.85-47.59.amzn2.x86_64 from amzn2-core kmod-lttng-modules-2.10.6-1.el7.x86_64 from EfficiOS-RHEL7-x86-64 lttng-tools-2.10.4-1.el7.x86_64 from EfficiOS-RHEL7-x86-64 lttng-ust-2.10.1-1.el7.x86_64 from EfficiOS-RHEL7-x86-64

Copied from original issue: dotnet/coreclr#19832

RussKeldorph avatar Jan 11 '19 22:01 RussKeldorph

From @ymiyoshi on September 6, 2018 4:51

I also hope for perfcollect support.

RussKeldorph avatar Jan 11 '19 22:01 RussKeldorph

LTTng can be built from source code on Amazon Linux 2. You have to build Userspace RCU from source too.

However, I also wish perfcollect install runs on AL2. 😄

kt81 avatar May 30 '19 01:05 kt81

I found that perfcollect and lttng built from source code are not working perfectly on AL2. They can generate CPU stack but no other data (e.g. event log. livetrace action is not working too.

kt81 avatar Jun 09 '19 02:06 kt81