Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tracecompass-dev] Getting new view to show up under a new trace type
  • From: Matthew Khouzam <matthew.khouzam@xxxxxxxxxxxx>
  • Date: Mon, 4 Apr 2022 12:53:33 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=xio2AAoomZZBQ0ncHmUPsL15036WEolZIMAa5lxSy7s=; b=Ubf9ayYZOPsaWpxga2cekmDSzggtgHU+qYrsP9PedVAxdQUvBvRBh8LsxxAuxJEc0QW4eqkLI9bWkn7UemLvnkJhbvBimjkQ6OUPxwP456MxPUzIp7/6FJxNDARery7vk5zxVmVTH7+H1q/c3l/SKj7c5VxFaeVjaZn0TvckUAbkAtSPvNjQPusCxMI0bHD4kPNBIW89MoUWzGweN6OtAaIz8GZdN3aShVjkpoSONsNNY4sD4g2VIWFmShbl1yew9IaLY9iZLYjvSsP/X4WrV6igqW37IxJYbkY62nrw/HYzfWK1Cm/uDc94uO9EnoEXB+GCbMPQ5HD1CUAqAduktA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cs2KXexqfQiNpWgsLmXMUb9KorON4oZvV0BMY/BAA804JjVvV3mvhArEojUKGNi1ItSSnX0o35CwJvtUINdudmhEL9XFwvpfOH+tTt/R2Fnkcyzf+99o+ag7/l0rrouqlFvUdKeMhpwe0wkEPKf8V1tMfOEZWn7bwCdD08oewlpDwAeV15BXUHrJzSO74q5JP8TYgSPbkGOa6tvn0akgK4yEBu8XingsAgkCn8hRRMx/q6BzjDXW4OiS+P/I8JXf8V4KQWvd/DHlYSinjwfchTB0K+nBXJc2MsOaaDA7EdqzbS9VNm9/tSX1wyTDxp4e9vtpO2VONl7wbWnpWimpFw==
  • Delivered-to: tracecompass-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/tracecompass-dev/>
  • List-help: <mailto:tracecompass-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/tracecompass-dev>, <mailto:tracecompass-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/tracecompass-dev>, <mailto:tracecompass-dev-request@eclipse.org?subject=unsubscribe>
  • Suggested_attachment_session_id: 3e6af66b-427b-1175-8b43-400ccab11479
  • Thread-index: AQHYQtSl/NtLWTNl/0WZGploKXAkJKzVb7V7gAYko4CABCpbCw==
  • Thread-topic: [tracecompass-dev] Getting new view to show up under a new trace type

Hi George,

The pipeline for data in the trace is more or less as follows:

Trace parser -> trace analysis (with state systems) -> data provider <- queried by viewer

you 100% need to make a new parser. If you want to make it an "IKernelTrace" with a proper layout, you can probably get the views out of the box, if not, you need to make an analysis and dataprovider.

All this work can be done in the Trace Compass Incubator if you want. (may be easier?!)

Keep us posted, even if you can't share the code, I'd love to see where things worked, where they didn't. Maybe you can share a patch making it easier for the next George going through your path?

Cheers,

Matthew.


From: tracecompass-dev <tracecompass-dev-bounces@xxxxxxxxxxx> on behalf of George Liu <georgeliu220@xxxxxxxxx>
Sent: Friday, April 1, 2022 5:11 PM
To: tracecompass developer discussions <tracecompass-dev@xxxxxxxxxxx>
Subject: Re: [tracecompass-dev] Getting new view to show up under a new trace type
 
Hi Matthew,

Thank you very much! The tutorial was helpful and contained some awesome details. 

However, my goal is to create a custom module with a custom server, which I am planning to use with the Trace Viewer Extension. I want to achieve something like a Resources View for linux trace types, but instead for my own trace type. If possible, could you please let me know some details on how to achieve this?

Thank you,
George

On Mon, Mar 28, 2022 at 7:26 PM Matthew Khouzam via tracecompass-dev <tracecompass-dev@xxxxxxxxxxx> wrote:
Hi George,

Could you check if you have modified the plugin.xml file? 

Here is a tutorial that might help. If it doesn't work, please tell us. if it does, please tell us too! 😉


From: tracecompass-dev <tracecompass-dev-bounces@xxxxxxxxxxx> on behalf of George Liu <georgeliu220@xxxxxxxxx>
Sent: Monday, March 28, 2022 2:49 PM
To: tracecompass-dev@xxxxxxxxxxx <tracecompass-dev@xxxxxxxxxxx>
Subject: [tracecompass-dev] Getting new view to show up under a new trace type
 
Hi,

I have recently been working on a new view. I’m wondering how I can get this view to show up in the “Views” dropdown menu for a specific trace. I am referring to the Project Explorer menu in Eclipse. Any further details on how I can approach this is greatly appreciated.

Thank you,
George
_______________________________________________
tracecompass-dev mailing list
tracecompass-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/tracecompass-dev

Back to the top