KEMBAR78
include asprof.h in async-profiler release by Baraa-Hasheesh · Pull Request #1262 · async-profiler/async-profiler · GitHub
Skip to content

Conversation

Baraa-Hasheesh
Copy link
Contributor

Description

As mentioned in title

Related issues

N/A

Motivation and context

Make it more friendly for user to use async-profiler on C/C++ applications

How has this been tested?

make test


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

PACKAGE_NAME=async-profiler-$(PROFILER_VERSION)-$(OS_TAG)-$(ARCH_TAG)
PACKAGE_DIR=/tmp/$(PACKAGE_NAME)

ASPROF=bin/asprof
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's update relevant documentation as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

Makefile Outdated
endif

build/$(ASPROF_HEADER): src/asprof.h
cp -f src/asprof.h $@
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
cp -f src/asprof.h $@
cp -f $< $@

Similar to the
[Java API](IntegratingAsyncProfiler.md#using-java-api),
there is a C API for using profiler inside a native application.
There is a C API for using profiler inside a native application.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the lowercase was right here, the sentence is not over yet

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

Signed-off-by: Bara' Hasheesh <bara.hasheesh@gmail.com>
Baraa-Hasheesh and others added 3 commits April 25, 2025 20:54
Co-authored-by: Andrei Pangin <1749416+apangin@users.noreply.github.com>
Signed-off-by: Bara' Hasheesh <bara.hasheesh@gmail.com>
@apangin apangin merged commit 570ead9 into async-profiler:master Apr 25, 2025
7 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants