{"id":13846497,"url":"https://github.com/GoogleCloudPlatform/cloud-profiler-java","last_synced_at":"2025-07-12T07:33:02.201Z","repository":{"id":41573836,"uuid":"139651931","full_name":"GoogleCloudPlatform/cloud-profiler-java","owner":"GoogleCloudPlatform","description":"Cloud Profiler Java agent is a tool that continuously gathers CPU usage information from Java applications","archived":false,"fork":false,"pushed_at":"2024-10-28T20:45:48.000Z","size":26408,"stargazers_count":30,"open_issues_count":2,"forks_count":18,"subscribers_count":34,"default_branch":"master","last_synced_at":"2024-10-29T18:37:34.300Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GoogleCloudPlatform.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-04T01:07:05.000Z","updated_at":"2024-10-28T20:41:21.000Z","dependencies_parsed_at":"2024-07-16T01:17:36.410Z","dependency_job_id":null,"html_url":"https://github.com/GoogleCloudPlatform/cloud-profiler-java","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fcloud-profiler-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fcloud-profiler-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fcloud-profiler-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GoogleCloudPlatform%2Fcloud-profiler-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GoogleCloudPlatform","download_url":"https://codeload.github.com/GoogleCloudPlatform/cloud-profiler-java/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225769460,"owners_count":17521258,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T18:00:35.726Z","updated_at":"2024-11-21T21:30:29.747Z","avatar_url":"https://github.com/GoogleCloudPlatform.png","language":"C++","funding_links":[],"categories":["Google Cloud Profiler"],"sub_categories":["Client libraries"],"readme":"# Google Cloud Profiler Java Agent\n\nThis repository contains source code for the\n[Google Cloud Profiler](https://cloud.google.com/profiler/) Java agent.\n\n## Installation\n\nMost users should install the pre-built agent:\n\n```shell\nwget -q -O- https://storage.googleapis.com/cloud-profiler/java/latest/profiler_java_agent.tar.gz \\\n| sudo tar xzv -C /opt/cprof\n```\n\nSee the\n[Google Cloud Profiler Java profiling doc](https://cloud.google.com/profiler/docs/profiling-java)\nfor detailed and most up-to-date guide on installing and using the agent.\n\n## Build from Source\n\nIn rare cases that you need to build from source, a script is provided to build\nthe agent using Docker. Make sure Docker is installed before running the\ncommands below.\n\n```shell\n $ git clone https://github.com/GoogleCloudPlatform/cloud-profiler-java.git\n $ cd cloud-profiler-java\n $ ./build.sh\n```\n\n## To build for Alpine\n\n**Only Alpine versions 3.11 and later are currently supported.**\n\n**Per thread timers are not available on Alpine.** Since SIGEV_THREAD_ID is not\nsupported by `timer_create` on Alpine, per thread timers are not implemented and\nthe flag `-cprof_cpu_use_per_thread_timers` is ignored on this platform.\n\n```shell\n$ git clone https://github.com/GoogleCloudPlatform/cloud-profiler-java.git\n$ cd cloud-profiler-java\n$ ./build.sh -m alpine\n```\n\n## To build for ARM64\n\n**Support for ARM64 is provided for testing purposes only.** The following\ncommands must be run on an ARM64 machine. Cross compilation is not supported.\n\n```shell\n$ git clone https://github.com/GoogleCloudPlatform/cloud-profiler-java.git\n$ cd cloud-profiler-java\n$ ./build.sh -m arm64\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGoogleCloudPlatform%2Fcloud-profiler-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FGoogleCloudPlatform%2Fcloud-profiler-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FGoogleCloudPlatform%2Fcloud-profiler-java/lists"}