tmf: Add the notions of timestamp and PID to ISymbolProvider
To support completely generic symbol resolution, the methods in
ISymbolProvider needs to consider two new concepts: the timestamp
of the query, and the process ID.
Process ID:
One trace can contain events from multiple processes. Even if
they all execute the same executable, the memory addresses, being
virtual, are specific to each process. The provider may need to know
the query is for which process in particular.
Timestamp:
Since libraries can be loaded and unloaded at runtime, with calls to
dlopen() and dlclose() for example, one address may refer to
different libraries at different moments in a trace. The provider
then needs to know the timestamp of the query, so it can refer to the
correct library if needed.
To ease the transition, we can introduce the new method as default
methods that will ignore the new parameters by default.
Change-Id: I6ec8aa5d97c690d84a9864af15f99a3ec9f4aa3d
Signed-off-by: Alexandre Montplaisir <alexmonthy@efficios.com>
Reviewed-on: https://git.eclipse.org/r/69969
Reviewed-by: Hudson CI
This page took 0.024978 seconds and 5 git commands to generate.