File: ProfilerHelpers.h

package info (click to toggle)
procdump 3.4.1-1~exp4
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 15,276 kB
  • sloc: ansic: 202,443; cpp: 51,275; sh: 1,618; cs: 76; makefile: 12
file content (23 lines) | stat: -rw-r--r-- 718 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License

//--------------------------------------------------------------------
//
// Profiler helpers
//
//--------------------------------------------------------------------

#ifndef PROFILERHELPERS_H
#define PROFILERHELPERS_H

#define PROCDUMP_DIR        "/usr/local/bin"
#define PROFILER_FILE_NAME  "procdumpprofiler.so"
#define PROFILER_GUID       "{cf0d821e-299b-5307-a3d8-b283c03916dd}"

int InjectProfiler(pid_t pid, char* clientData);
int LoadProfiler(pid_t pid, char* clientData);
int ExtractProfiler();
char* GetEncodedExceptionFilter(char* exceptionFilterCmdLine, unsigned int numDumps);

#endif // PROFILERHELPERS_H