Coder Social home page Coder Social logo

aalexand / cloud-profiler-java Goto Github PK

View Code? Open in Web Editor NEW

This project forked from googlecloudplatform/cloud-profiler-java

0.0 1.0 0.0 8.84 MB

Cloud Profiler Java agent is a tool that continuously gathers CPU usage information from Java applications

License: Apache License 2.0

Makefile 4.09% Shell 2.01% C++ 92.14% Dockerfile 1.77%

cloud-profiler-java's Introduction

Google Cloud Profiler Java Agent

This repository contains source code for the Google Cloud Profiler Java agent.

Installation

Most users should install the pre-built agent:

wget -q -O- https://storage.googleapis.com/cloud-profiler/java/latest/profiler_java_agent.tar.gz \
| sudo tar xzv -C /opt/cprof

See the Google Cloud Profiler Java profiling doc for detailed and most up-to-date guide on installing and using the agent.

Build from Source

In rare cases that you need to build from source, a script is provided to build the agent using Docker. Make sure Docker is installed before running the commands below.

 $ git clone https://github.com/GoogleCloudPlatform/cloud-profiler-java.git
 $ cd cloud-profiler-java
 $ ./build.sh

To build for Alpine

Only Alpine versions 3.11 and later are currently supported.

Per thread timers are not available on Alpine. Since SIGEV_THREAD_ID is not supported by timer_create on Alpine, per thread timers are not implemented and the flag -cprof_cpu_use_per_thread_timers is ignored on this platform.

$ git clone https://github.com/GoogleCloudPlatform/cloud-profiler-java.git
$ cd cloud-profiler-java
$ ./build.sh -m alpine

To build for ARM64

Support for ARM64 is provided for testing purposes only. The following commands must be run on an ARM64 machine. Cross compilation is not supported.

$ git clone https://github.com/GoogleCloudPlatform/cloud-profiler-java.git
$ cd cloud-profiler-java
$ ./build.sh -m arm64

cloud-profiler-java's People

Contributors

aalexand avatar jcbeyler avatar jqll avatar kalyanac avatar labutin avatar nolanmar511 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.