Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   perf_event_open    ( 2 )

настроить мониторинг производительности (set up performance monitoring)

  Name  |  Synopsis  |  Description  |    Return value    |  Error  |  Versions  |  Conforming to  |  Note  |  Bugs  |  Examples  |  See also  |

Возвращаемое значение (Return value)

On success, perf_event_open() returns the new file descriptor. On error, -1 is returned and errno is set to indicate the error.