• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# hiappevent_param.h
2
3<!--Kit: Performance Analysis Kit-->
4<!--Subsystem: HiviewDFX-->
5<!--Owner: @liujiaxing2024-->
6<!--SE: @junjie_shi-->
7<!--TSE: @gcw_KuLfPSbe-->
8
9## Overview
10
11Defines the names of all predefined event parameters. In addition to custom events associated with specific applications, you can use predefined events for logging.
12
13**File to include**: <hiappevent/hiappevent_param.h>
14
15**Library**: libhiappevent_ndk.z.so
16
17**System capability**: SystemCapability.HiviewDFX.HiAppEvent
18
19**Since**: 8
20
21**Related Module**: [HiAppEvent](capi-hiappevent.md)
22
23## Summary
24
25### Macros
26
27| Name                                                                                              | Description        |
28|--------------------------------------------------------------------------------------------------|------------|
29| [PARAM_USER_ID](#param_user_id) "user_id"                                                        | User ID.<br>**Since**: 8 |
30| [PARAM_DISTRIBUTED_SERVICE_NAME](#param_distributed_service_name) "ds_name"                      | Distributed service name.<br>**Since**: 8  |
31| [PARAM_DISTRIBUTED_SERVICE_INSTANCE_ID](#param_distributed_service_instance_id) "ds_instance_id" | Distributed service instance ID.<br>**Since**: 8|
32
33
34## Macro Description
35
36### PARAM_USER_ID
37
38```
39#define PARAM_USER_ID "user_id"
40```
41
42**Description**
43
44User ID.
45
46**Since**: 8
47
48### PARAM_DISTRIBUTED_SERVICE_NAME
49
50```
51#define PARAM_DISTRIBUTED_SERVICE_NAME "ds_name"
52```
53
54**Description**
55
56Distributed service name.
57
58**Since**: 8
59
60### PARAM_DISTRIBUTED_SERVICE_INSTANCE_ID
61
62```
63#define PARAM_DISTRIBUTED_SERVICE_INSTANCE_ID "ds_instance_id"
64```
65
66**Description**
67
68Distributed service instance ID.
69
70**Since**: 8
71