- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
I'm trying to use the User Event API to place markers in my code for easier profiling. I used the sample code given in the User Event API section of the documentation, linked with [...]vtune_amplifier_xe_2011/lib64/libittnotify.a, and included"ittnotify.h" header. When I try to compile, I get the following error:
error: identifier "__itt_err" is undefined
if( return_value == __itt_err )
^
error: identifier "__itt_err" is undefined if( return_value == __itt_err ) ^All other *_err symbols are also not found, whereas all the functions, like__itt_event_create, are found. If I simply do no error-checking, the code can be compiled and profiled with the markers correctly inserted.
Anyone have the same issue? The version I have is "Intel VTuneTM Amplifier XE 2011 Update3".
P.S. I needed to include "ittnotify.h" instead of "libittnotify.h" as in the documentation page linked above, because "libittnotify.h" has a deprecation warning and an instruction to use"ittnotify.h" instead. Perhaps the documentation is out of date?
1 Solução
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hello,
__itt_err and other *err stuff is not supported any more. User APIs don't return error codes.
This is documentation problem that wasn't updated. This sample should be withour error code checking.
We're working on updating the document already.
Regards,
Kirill
__itt_err and other *err stuff is not supported any more. User APIs don't return error codes.
This is documentation problem that wasn't updated. This sample should be withour error code checking.
We're working on updating the document already.
Regards,
Kirill
Link copiado
1 Responder
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hello,
__itt_err and other *err stuff is not supported any more. User APIs don't return error codes.
This is documentation problem that wasn't updated. This sample should be withour error code checking.
We're working on updating the document already.
Regards,
Kirill
__itt_err and other *err stuff is not supported any more. User APIs don't return error codes.
This is documentation problem that wasn't updated. This sample should be withour error code checking.
We're working on updating the document already.
Regards,
Kirill

Responder
Opções do tópico
- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora