summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorIgor Nabirushkin <inabirushkin@nvidia.com>2020-12-29 18:02:32 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2021-01-15 21:40:09 -0500
commit6e44f66b704c7fd41dcf2944b8132c0140f5cf28 (patch)
tree0fd9ce0e7a3fce559472cdbc49cca7dead82ef23 /include
parent9e4c5eaa0ac9682d9da9e882f5a7aab508fc15a7 (diff)
misc: tegra-profiler: add unique identifier
Add unique identifier seqid (sequence number) for samples. Bug 3216659 Signed-off-by: Igor Nabirushkin <inabirushkin@nvidia.com> Change-Id: I84b595f976f1f1955ecb278ababaf45591cdf5e0 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2464500 (cherry picked from commit ec284fc0b7b94871565c612358ea9e78e9ae4731) Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2469351 Reviewed-by: Roman Rybalko <rrybalko@nvidia.com> Reviewed-by: Bibek Basu <bbasu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> GVS: Gerrit_Virtual_Submit Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/tegra_profiler.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/uapi/linux/tegra_profiler.h b/include/uapi/linux/tegra_profiler.h
index d8807e637..bfa39e566 100644
--- a/include/uapi/linux/tegra_profiler.h
+++ b/include/uapi/linux/tegra_profiler.h
@@ -20,7 +20,7 @@
20#include <linux/ioctl.h> 20#include <linux/ioctl.h>
21#include <linux/types.h> 21#include <linux/types.h>
22 22
23#define QUADD_SAMPLES_VERSION 48 23#define QUADD_SAMPLES_VERSION 49
24#define QUADD_IO_VERSION 28 24#define QUADD_IO_VERSION 28
25 25
26#define QUADD_IO_VERSION_DYNAMIC_RB 5 26#define QUADD_IO_VERSION_DYNAMIC_RB 5
@@ -78,6 +78,7 @@
78#define QUADD_SAMPLE_VERSION_PCLK_SEND_CHANGES 46 78#define QUADD_SAMPLE_VERSION_PCLK_SEND_CHANGES 46
79#define QUADD_SAMPLE_VERSION_COMM_SAMPLES 47 79#define QUADD_SAMPLE_VERSION_COMM_SAMPLES 47
80#define QUADD_SAMPLE_VERSION_UNCORE_EVENTS 48 80#define QUADD_SAMPLE_VERSION_UNCORE_EVENTS 48
81#define QUADD_SAMPLE_VERSION_SEQID 49
81 82
82#define QUADD_MMAP_HEADER_VERSION 1 83#define QUADD_MMAP_HEADER_VERSION 1
83 84
@@ -422,6 +423,7 @@ struct quadd_header_data {
422struct quadd_record_data { 423struct quadd_record_data {
423 __u8 record_type; 424 __u8 record_type;
424 __u16 extra_size; 425 __u16 extra_size;
426 __u32 seqid;
425 427
426 /* sample: it should be the biggest size */ 428 /* sample: it should be the biggest size */
427 union { 429 union {