Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tcf-dev] reduced getState function
  • From: "Wilson, David" <david.wilson@xxxxxxxxx>
  • Date: Tue, 25 May 2021 11:03:44 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.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-SenderADCheck; bh=RoeZ7ZPZEcA4xmtrb2nZqF+yzHpWpoqjS3GnRQM41X8=; b=IQZKkhHOAWW23q5u2htW5u+NZWimsCpll3QhN+4OCTz5lEY/d9WWep4Kowk5NK7iZgM1PlZ0xP4qcuTCbZQQYYFdIAMEC+GXWJcuYCwhY265c23lfoXh7sYvB92ZmRvlGpAz+j0M6QxNNHHsAiZvTnWFE/diFrPsg9pxXvBW5y2HGRaCkYbzfA1RS/HII5BtWWEn6kjvr5yJkxWOaywmBpYBVsDCrKKgdrV64re5bLa88OxUSMayIhbWo/6tVeXuhXdZlJ22dAvoWSNH0XAh0Xa8ixoFZ8JTx7dOt555JwoIoNMXkhsd7o/z1TVCY9V/SoZk/LrRxEs7dDhcYbSbEQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=enxNlEhYqovJMBaeJhZgCu5jP2k/psZRYF2TYT1komGsdPVcK3wC2skUzyoBxnBcKdwwrKCrb8pnnCHEK8YlgfSpgloLwO35UvPKTVGMYoes7PTf3StUW8qkctaMk8oWWM+QjYxK3r+Q2S8wyHCQYQ3umqOoDH/dCcp+X1NLJytmk56oOFdUj5lHqjeycm3XaXFQq13nJTZnPk3EFeSqsXLhcTF1xYJVeUYOMhvuquT3RrNiMNHJwqVzmT+o1GkNAUGoxM38o8qgH/D8FP3ps83M3UkKcjV+Pu9yu+nLPS0IiIyviZlAhuyN7OUdJPKEUomVBHyAIjJFA8x3wgt//w==
  • Delivered-to: tcf-dev@xxxxxxxxxxx
  • Dlp-product: dlpe-windows
  • Dlp-reaction: no-action
  • Dlp-version: 11.5.1.3
  • Ironport-sdr: XBoeEa+vMprzTWcJR+dRCoUJSCgLiYVYG8yYbykUtMERTO0zskF/soCRYropKXdSSgNbygAptB 67ZdwDsvmsow==
  • Ironport-sdr: xofxD8RAl3fYSKFoKsDeIV0XA+h3OwRH5W6dHIgkfcmzmuexu1b1FoEZEZKJFVo48NDW79skg7 RzqK/Ckm6Xlg==
  • List-archive: <https://www.eclipse.org/mailman/private/tcf-dev/>
  • List-help: <mailto:tcf-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/tcf-dev>, <mailto:tcf-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/tcf-dev>, <mailto:tcf-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AddRVTyR/X66KXMFSSek9hxcWDWqIg==
  • Thread-topic: reduced getState function

Hi Eugene,

 

Sorry to ask again, I was wondering if you have had a chance to look over my email from 19/5/2021? The email is as follows:

 

--- original message ---

Hi All –

 

We are having an issue at TCF protocol level relating to performance on Systems which have many Contexts.

 

The issue relates to the getState command being called on all contexts, which in turn, triggers a read on the program counter (pc) register.

 

On systems with a large number of contexts (especially over real hardware with JTAG), this has a massive performance penalty.

 

Now, we have seen several types of target where we can infer the state (i.e. has a breakpoint been hit, is it suspended etc) WITHOUT reading the PC. We would still like to show the “State” to the user, and thus have come up with a getMinState solution (detailed https://git.eclipse.org/r/c/tcf/org.eclipse.tcf.agent/+/172121) and GUI patch (https://git.eclipse.org/r/c/tcf/org.eclipse.tcf/+/175151)

 

Eugene Tarassov very kindly provided me with another potential solution to this, by not intercepting contexts. This would not require any code change. Unfortunately, is not an acceptable solution for us, as it does not allow us to provide the user with all the information we “know” – i.e. have the contexts been suspended or not. Eugene suggested “suspended, intercepted, but not active", which I can’t figure out how to trigger from the tcf agent (where we need this behaviour to come from) – simply setting this as “not active” from the client also seems cumbersome and unintuitive for a end user. Hence it seems the current approaches will not work to fix this issue.

 

Any help with our particular problem would be greatly appreciated.

---end of original message---

 

 

This is a completely blocking issue for us, and one that we believe other TCF developers and users will also encounter.

 

Any help/comments would be greatly appreciated.

 

Kind Regards

 

David Wilson

Intel Deutschland GmbH
Registered Address: Am Campeon 10, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Sharon Heck, Tiffany Doon Silva  
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928


Back to the top