Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tracecompass-dev] Trace server questions

Hi Matthew,

That is what i override from the custom trace type. The problem is that the server creates a TmfExperiment and indexes it. I can't override the indexer for TmfExperiment as it is instantiated by ExperimentManagerService.

Neel

From: tracecompass-dev <tracecompass-dev-bounces@xxxxxxxxxxx> on behalf of: Matthew Khouzam via tracecompass-dev <tracecompass-dev@xxxxxxxxxxx>
Date: Tuesday, Mar 07, 2023 at 12:46 PM
To: tracecompass-dev@xxxxxxxxxxx <tracecompass-dev@xxxxxxxxxxx>
Cc: Matthew Khouzam <matthew.khouzam@xxxxxxxxxxxx>, Elena Laskavaia <ELaskavaia@xxxxxxxxxxxxxx>
Subject: Re: [tracecompass-dev] Trace server questions

CAUTION - This email is from an external source. Please be cautious with links and attachments. (go/taginfo)

  1. I will leave this one to other people, but generic commands seem out of the scope of the trace server protocol to me. You may be able to side-band them maybe?
  2. The indexer is created by calling TmfTrace#createIndexer. Overriding that command should do the trick, I think.
I hope this helps!

Matthew


From: tracecompass-dev <tracecompass-dev-bounces@xxxxxxxxxxx> on behalf of Neel Gondalia <ngondalia@xxxxxxxxxxxxxx>
Sent: Tuesday, March 7, 2023 11:07 AM
To: tracecompass-dev@xxxxxxxxxxx <tracecompass-dev@xxxxxxxxxxx>
Cc: Elena Laskavaia <ELaskavaia@xxxxxxxxxxxxxx>
Subject: [tracecompass-dev] Trace server questions
 

Hello everyone,


I had a couple of questions regarding the trace server.


1) I am looking to pass some commands from the vscode trace extension to the server.  Is there an endpoint to handle generic commands? Or if there is some other endpoint that can be used for such purposes. Something along the lines of receive request to server, server fires a signal, handle the signal and return the data response.


2) We have a custom trace type for which I want to provide a custom indexer. This works fine. The issue i am having is using it with the trace extension. Currently, trace server creates an experiment which also does the indexing, but it uses the TmfCheckpointIndexer and not the custom indexer i specify for the trace. Is there a way to workaround this?


Thanks,

Neel 


This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful.

Back to the top