8 lttng-add-map - Create LTTng map
14 Create a Linux kernel map:
16 *lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *add-map* option:--kernel
17 [option:--session='SESSION'] [--bitness='BITNESS']
18 [option:--coalesce-hits]
19 [option:--may-key-count='MAX_KEY_COUNT']
22 Create a user space map:
24 *lttng* ['linkgenoptions:(GENERAL OPTIONS)'] *add-map* option:--userspace
25 [option:--session='SESSION'] [--bitness='BITNESS']
26 [(option:--per-pid | option:--per-uid)]
27 [option:--coalesce-hits]
28 [option:--may-key-count='MAX_KEY_COUNT']
35 The `lttng add-map` command is used to create maps.
37 A map is key-value data structure used to count events occurences. When
38 creating a map, many parameters related to this data structure can be
41 When 'MAP' does not name an existing map, a map named
47 option:-k, option:--kernel::
48 Create map in the Linux kernel domain.
50 option:-u, option:--userspace::
51 Create map in the user space domain.
53 option:-s 'SESSION', option:--session='SESSION'::
54 Create map in the tracing session named 'SESSION'
55 instead of the current tracing session.
57 option:--bitness='BITNESS'::
58 Set the counter bucket size to BITNESS bits.
60 option:--coalesce-hits::
61 Coalesces hits from identical event rules.
64 Keep one event counter per process.
67 Keep one event counter for all processes of a single user.
69 include::common-cmd-help-options.txt[]
71 include::common-cmd-footer.txt[]
76 man:lttng-enable-map(1),
77 man:lttng-disable-map(1),
78 man:lttng-view-map(1),
80 man:lttng-add-trigger(1),