Skip to content

Conversation

janaknat
Copy link
Contributor

Two new options are provided for the user to configure the data collected with aperf.

  • collect_only - select only the datatypes to collect.
  • skip_only - select only the datatypes to not collect.

Update the integration tests to run in its own process with rusty-fork. This allows each intergration to run as a stand alone, as is expected.

Added a report which compares 2 runs. 1 run was run and only collected interrupts. The other run skipped only the vmstat and interrupts.

skip_collect.tar.gz

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Two new options are provided for the user to configure the data
collected with aperf.

* collect_only - select only the datatypes to collect.
* skip_only - select only the datatypes to *not* collect.

Update the integration tests to run in its own process with rusty-fork.
This allows each intergration to run as a stand alone, as is expected.
@janaknat janaknat requested a review from a team as a code owner April 24, 2025 21:07
Comment on lines +301 to +304
SystemInfo,
CpuUtilization,
KernelConfig,
Sysctl,
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not sure there is really mandatory data, if we're going to allow users to skip collecting, we might as well let them collect nothing.

@@ -107,6 +107,10 @@ To see a step-by-step example, please see our example [here](./EXAMPLE.md)

`--profile-java` profile JVMs by PID or name using async-profiler (default profiles all JVMs)

`--collect-only` collect only these data types
Copy link
Contributor

Choose a reason for hiding this comment

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

We should only have an opt out option in my opinion.

Netstat,
PerfProfile,
Flamegraph,
JavaProfile,
Copy link
Contributor

Choose a reason for hiding this comment

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

are not PerfProfile, Flamegraph, JavaProfile managed by --profile and --java-profile switches?

@CongkaiTan CongkaiTan closed this Aug 13, 2025
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