dotnet / corefx-tools

Place to include various misc tools for .NET and .NET Core.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

perfcollect support amazon linux distribution

RussKeldorph opened this issue · 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

From @ymiyoshi on September 6, 2018 4:51

I also hope for perfcollect support.

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. 😄

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.