Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow executing commands on BTrace server #559

Merged
merged 1 commit into from
Jul 9, 2022
Merged

Conversation

jbachorik
Copy link
Collaborator

This change allows running arbitrary commands on a previously started BTrace session left in unattended mode.
This assumes the BTrace server is not disabled.

Currently, the supported commands are:

  • btrace -r <probe_id> event <pid> - will send an anonymous event
  • btrace -r <probe_id> event myEvent <pid> - will send a named event
  • btrace -r <probe_id> exit <pid> - will initiate the BTrace probe exit

The usage help can be obtained as:

  • btrace -r help

@jbachorik jbachorik added this to the 2.3.0 milestone Jul 4, 2022
@jbachorik jbachorik merged commit 6c059c3 into develop Jul 9, 2022
@jbachorik jbachorik deleted the jb/remote_commands branch July 9, 2022 21:12
@jbachorik jbachorik modified the milestones: 2.3.0, 2.2.3 Nov 10, 2022
@jbachorik jbachorik modified the milestones: 2.3.0, 2.2.3 Dec 23, 2022
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.

None yet

1 participant