GTPin

- Main Page
- Related Pages
- Modules
- Data Structures

Data Structures
GTPin: Tool Callbacks

Abstract representation of the tool as a set of callbacks implemented by the tool and available to GTPin More...

## Data Structures
class | gtpin::IGtTool
| Abstract class that defines interface of the GTPin tool; i.e. set of callbacks invoked by the GTPin core. More...

## Detailed Description

Abstract representation of the tool as a set of callbacks implemented by the tool and available to GTPin

The communication between GTPin core and the GTPin tool is bidirectional. The IGtTool abstract class defines the interface that should be implemented on the tool's side of the communication channel. At the very beginning of the instrumentation session, the tool is expected to register a concrete implementation of the IGtTool interface using the IGtCore::RegisterTool function. Once registered, the tool starts receiving notifications (callbacks) on the application/GPU activities, e.g. on kernel compilation, submission and completion.
Usually, a GTPin command-line tool registers itself with GTPin within the GTPin_Entry function - the first function invoked by the gtpin launcher program.

All Data Structures Functions Variables Typedefs Enumerations Enumerator

      Copyright (C) 2013-2025 Intel Corporation

      SPDX-License-Identifier: MIT