summaryrefslogtreecommitdiff
path: root/lib/libutee/arch/arm/gprof/gprof_pta.h
blob: c2514dacab71571f20869477a6a534ba2e4a9a66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: BSD-2-Clause */
/*
 * Copyright (c) 2016, Linaro Limited
 * All rights reserved.
 */

#ifndef __GPROF_PTA_H
#define __GPROF_PTA_H

#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <tee_api_types.h>

TEE_Result __pta_gprof_send(void *buf, size_t len, uint32_t *id);
TEE_Result __pta_gprof_pc_sampling_start(void *buf, size_t len, size_t offset,
					 size_t scale);
TEE_Result __pta_gprof_pc_sampling_stop(uint32_t *rate);
void __pta_gprof_fini(void);
#endif /* __GPROF_PTA_H */