<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvidia-tegra-modules.git/drivers/misc/tegra-profiler/dwarf_unwind.c, branch rtss22-ae</title>
<subtitle>NVIDIA's kernel modules to support tegra chips (used in Jetson boards)</subtitle>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/'/>
<entry>
<title>tegra-profiler: dwarf: support multiple processes</title>
<updated>2019-01-18T07:51:12+00:00</updated>
<author>
<name>Igor Nabirushkin</name>
<email>inabirushkin@nvidia.com</email>
</author>
<published>2018-11-08T10:49:42+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=a6614067673a5e61444fcfcb6c9826bdcf60c28e'/>
<id>a6614067673a5e61444fcfcb6c9826bdcf60c28e</id>
<content type='text'>
- Support DWARF/ARM-EHABI unwinding for multiple processes.
- Add cpu_id for MMAP samples.

Bug 2438564
Jira DTSP-824
Jira DTSP-1599

Change-Id: I998906011cff240b9a554cd40679cd9ec9c0f7b7
Signed-off-by: Igor Nabirushkin &lt;inabirushkin@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1945653
(cherry picked from commit 20e2cf7d2509dfc4708f4a3720aee26852998f13)
Reviewed-on: https://git-master.nvidia.com/r/1992080
Reviewed-by: Dmitry Antipov &lt;dantipov@nvidia.com&gt;
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Support DWARF/ARM-EHABI unwinding for multiple processes.
- Add cpu_id for MMAP samples.

Bug 2438564
Jira DTSP-824
Jira DTSP-1599

Change-Id: I998906011cff240b9a554cd40679cd9ec9c0f7b7
Signed-off-by: Igor Nabirushkin &lt;inabirushkin@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1945653
(cherry picked from commit 20e2cf7d2509dfc4708f4a3720aee26852998f13)
Reviewed-on: https://git-master.nvidia.com/r/1992080
Reviewed-by: Dmitry Antipov &lt;dantipov@nvidia.com&gt;
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>misc: tegra-profiler: fix broken backtraces</title>
<updated>2018-09-10T00:23:38+00:00</updated>
<author>
<name>Igor Nabirushkin</name>
<email>inabirushkin@nvidia.com</email>
</author>
<published>2018-09-06T17:47:47+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=57aa3a4aa3d9b6b72b05b097000508990bbff806'/>
<id>57aa3a4aa3d9b6b72b05b097000508990bbff806</id>
<content type='text'>
- Use read_user_data() function for unwinding based on
  frame pointers (the same way as in dwarf_unwind.c/eh_unwind.c).
  This fixes broken frame pointer backtraces on some devices.
- A few minor changes.

Bug 2367943
Jira DTSP-371

Change-Id: I7dad113f5c7b80aa319c1bda9efbeb214bf0a775
Signed-off-by: Igor Nabirushkin &lt;inabirushkin@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1814272
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dmitry Antipov &lt;dantipov@nvidia.com&gt;
Reviewed-by: Sachin Nikam &lt;snikam@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Use read_user_data() function for unwinding based on
  frame pointers (the same way as in dwarf_unwind.c/eh_unwind.c).
  This fixes broken frame pointer backtraces on some devices.
- A few minor changes.

Bug 2367943
Jira DTSP-371

Change-Id: I7dad113f5c7b80aa319c1bda9efbeb214bf0a775
Signed-off-by: Igor Nabirushkin &lt;inabirushkin@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1814272
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dmitry Antipov &lt;dantipov@nvidia.com&gt;
Reviewed-by: Sachin Nikam &lt;snikam@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>misc: tegra-profiler: fix system crash</title>
<updated>2017-12-08T10:04:57+00:00</updated>
<author>
<name>Igor Nabirushkin</name>
<email>inabirushkin@nvidia.com</email>
</author>
<published>2017-11-23T09:25:16+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=3c306312d55f9b3e1da0422dd8e79bb6f29f2922'/>
<id>3c306312d55f9b3e1da0422dd8e79bb6f29f2922</id>
<content type='text'>
DWARF/ARM32 EHABI unwinding: do not free used mmap regions.
This commit fixes a possible system crash.

Bug 2030260

Change-Id: Iad9d3b5cd777511537ebb625ce0558abe3536f55
Signed-off-by: Igor Nabirushkin &lt;inabirushkin@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1611121
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dmitry Antipov &lt;dantipov@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumeet Gupta &lt;sumeetg@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
DWARF/ARM32 EHABI unwinding: do not free used mmap regions.
This commit fixes a possible system crash.

Bug 2030260

Change-Id: Iad9d3b5cd777511537ebb625ce0558abe3536f55
Signed-off-by: Igor Nabirushkin &lt;inabirushkin@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1611121
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dmitry Antipov &lt;dantipov@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sumeet Gupta &lt;sumeetg@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>misc: tegra-profiler: fix coverity defect</title>
<updated>2017-07-13T14:18:43+00:00</updated>
<author>
<name>Igor Nabirushkin</name>
<email>inabirushkin@nvidia.com</email>
</author>
<published>2017-03-12T21:04:54+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=3fd2deeb82580aad1305ff305590eb3705bb7cdb'/>
<id>3fd2deeb82580aad1305ff305590eb3705bb7cdb</id>
<content type='text'>
Fix coverity defect "Bad bit shift operation".

Coverity ID: 33234

Bug 200192567

Change-Id: I7f0edb9c41ac9a9b624bafab3eab660968e57fef
Signed-off-by: Igor Nabirushkin &lt;inabirushkin@nvidia.com&gt;
Reviewed-on: http://git-master/r/1319568
(cherry picked from commit 40a0e6c7d697b72a05258c587c6062c9c6f09c65)
Reviewed-on: http://git-master/r/1321050
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix coverity defect "Bad bit shift operation".

Coverity ID: 33234

Bug 200192567

Change-Id: I7f0edb9c41ac9a9b624bafab3eab660968e57fef
Signed-off-by: Igor Nabirushkin &lt;inabirushkin@nvidia.com&gt;
Reviewed-on: http://git-master/r/1319568
(cherry picked from commit 40a0e6c7d697b72a05258c587c6062c9c6f09c65)
Reviewed-on: http://git-master/r/1321050
</pre>
</div>
</content>
</entry>
<entry>
<title>misc: tegra-profiler: fix dwarf unwinding</title>
<updated>2017-07-13T14:18:43+00:00</updated>
<author>
<name>Igor Nabirushkin</name>
<email>inabirushkin@nvidia.com</email>
</author>
<published>2017-03-11T14:21:51+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=7441a7ceff115e9d1d659ad770170992642d9b2f'/>
<id>7441a7ceff115e9d1d659ad770170992642d9b2f</id>
<content type='text'>
DWARF unwinding: do not stop unwinding if stack is not growing
at the first function in call chain.
This patch fixes broken backtraces in leaf functions with
empty FDE entries.

Bug 1887662

Change-Id: Ib3d577afc20c923b6240e797482717f1a3e00ea4
Signed-off-by: Igor Nabirushkin &lt;inabirushkin@nvidia.com&gt;
Reviewed-on: http://git-master/r/1319323
(cherry picked from commit 82729960283f432cdbfc82af546dbfbde3e2cd7f)
Reviewed-on: http://git-master/r/1321049
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
DWARF unwinding: do not stop unwinding if stack is not growing
at the first function in call chain.
This patch fixes broken backtraces in leaf functions with
empty FDE entries.

Bug 1887662

Change-Id: Ib3d577afc20c923b6240e797482717f1a3e00ea4
Signed-off-by: Igor Nabirushkin &lt;inabirushkin@nvidia.com&gt;
Reviewed-on: http://git-master/r/1319323
(cherry picked from commit 82729960283f432cdbfc82af546dbfbde3e2cd7f)
Reviewed-on: http://git-master/r/1321049
</pre>
</div>
</content>
</entry>
<entry>
<title>misc: tegra-profiler: verify stack pointer</title>
<updated>2017-07-13T14:18:42+00:00</updated>
<author>
<name>Igor Nabirushkin</name>
<email>inabirushkin@nvidia.com</email>
</author>
<published>2017-01-29T20:33:13+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=ea4281421ca3bf8af90c420591c8cbcf077375b6'/>
<id>ea4281421ca3bf8af90c420591c8cbcf077375b6</id>
<content type='text'>
Add additional stack pointer verification for DWARF unwinding
since stack always has to grow downwards in memory.
This commit prevents infinite loop when FDE entry is empty.

Bug 1868657

Change-Id: I4e8eda697606f2b9ca9d613b35ffad5a39a14be7
Signed-off-by: Igor Nabirushkin &lt;inabirushkin@nvidia.com&gt;
Reviewed-on: http://git-master/r/1295733
(cherry picked from commit 832bcf45afce219eb4beb8d0ad385f07ef40ac95)
Reviewed-on: http://git-master/r/1303069
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add additional stack pointer verification for DWARF unwinding
since stack always has to grow downwards in memory.
This commit prevents infinite loop when FDE entry is empty.

Bug 1868657

Change-Id: I4e8eda697606f2b9ca9d613b35ffad5a39a14be7
Signed-off-by: Igor Nabirushkin &lt;inabirushkin@nvidia.com&gt;
Reviewed-on: http://git-master/r/1295733
(cherry picked from commit 832bcf45afce219eb4beb8d0ad385f07ef40ac95)
Reviewed-on: http://git-master/r/1303069
</pre>
</div>
</content>
</entry>
<entry>
<title>misc: tegra-profiler: fix crash in dwarf unwinding</title>
<updated>2017-07-13T14:18:42+00:00</updated>
<author>
<name>Igor Nabirushkin</name>
<email>inabirushkin@nvidia.com</email>
</author>
<published>2017-01-11T10:45:30+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=082862cbf5c548d6f54b01729669cbabbeda9862'/>
<id>082862cbf5c548d6f54b01729669cbabbeda9862</id>
<content type='text'>
Do not update sections information in sched context,
it is not safely.

Bug 200246808

Change-Id: Iadca09f29e62d57330430c3325ccbc9ac8280f88
Signed-off-by: Igor Nabirushkin &lt;inabirushkin@nvidia.com&gt;
Reviewed-on: http://git-master/r/1252603
(cherry picked from commit 819e89ac73a5f62f04cbdea328683c25332ba71b)
Reviewed-on: http://git-master/r/1283451
(cherry picked from commit 247a28b42dc1f67c011b5c50af9ebdd35d6eb1c6)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Do not update sections information in sched context,
it is not safely.

Bug 200246808

Change-Id: Iadca09f29e62d57330430c3325ccbc9ac8280f88
Signed-off-by: Igor Nabirushkin &lt;inabirushkin@nvidia.com&gt;
Reviewed-on: http://git-master/r/1252603
(cherry picked from commit 819e89ac73a5f62f04cbdea328683c25332ba71b)
Reviewed-on: http://git-master/r/1283451
(cherry picked from commit 247a28b42dc1f67c011b5c50af9ebdd35d6eb1c6)
</pre>
</div>
</content>
</entry>
<entry>
<title>misc: tegra-profiler: fix backtraces</title>
<updated>2017-07-13T14:18:42+00:00</updated>
<author>
<name>Igor Nabirushkin</name>
<email>inabirushkin@nvidia.com</email>
</author>
<published>2017-01-09T17:39:36+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=203f0690ffa8457741b720d59c67ee9da0f8443a'/>
<id>203f0690ffa8457741b720d59c67ee9da0f8443a</id>
<content type='text'>
Fix missed user address for unwinding from the kernel context.

Bug 1859763

Change-Id: Ia5d1fc779f47a954f624ee16dd4353910d62de05
Signed-off-by: Igor Nabirushkin &lt;inabirushkin@nvidia.com&gt;
Reviewed-on: http://git-master/r/1282285
(cherry picked from commit 57babc79f6edaaec3e4c43962e3db7c7ecec7749)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix missed user address for unwinding from the kernel context.

Bug 1859763

Change-Id: Ia5d1fc779f47a954f624ee16dd4353910d62de05
Signed-off-by: Igor Nabirushkin &lt;inabirushkin@nvidia.com&gt;
Reviewed-on: http://git-master/r/1282285
(cherry picked from commit 57babc79f6edaaec3e4c43962e3db7c7ecec7749)
</pre>
</div>
</content>
</entry>
<entry>
<title>misc: tegra_profiler: fix dwarf unwinding</title>
<updated>2017-07-13T14:18:42+00:00</updated>
<author>
<name>Igor Nabirushkin</name>
<email>inabirushkin@nvidia.com</email>
</author>
<published>2016-11-30T09:29:26+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=baf0e5fc043c49fc3487b499dab32aa6cd0a02fe'/>
<id>baf0e5fc043c49fc3487b499dab32aa6cd0a02fe</id>
<content type='text'>
Problem is that on systems with a 64-bit kernel and 32 bit userspace,
read_user_data function reads 32-bit value into 64-bit uninitialized
variable, so high half of the variable might be dirty.
Use 32-bit temporary variable in such cases.

Bug 1846986

Change-Id: I2b024a00da536ad95e12e354597bde9811ca7998
Signed-off-by: Igor Nabirushkin &lt;inabirushkin@nvidia.com&gt;
Reviewed-on: http://git-master/r/1262234
(cherry picked from commit d58031aa0cb381ecc5a8c11d08b81a141c435244)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem is that on systems with a 64-bit kernel and 32 bit userspace,
read_user_data function reads 32-bit value into 64-bit uninitialized
variable, so high half of the variable might be dirty.
Use 32-bit temporary variable in such cases.

Bug 1846986

Change-Id: I2b024a00da536ad95e12e354597bde9811ca7998
Signed-off-by: Igor Nabirushkin &lt;inabirushkin@nvidia.com&gt;
Reviewed-on: http://git-master/r/1262234
(cherry picked from commit d58031aa0cb381ecc5a8c11d08b81a141c435244)
</pre>
</div>
</content>
</entry>
<entry>
<title>misc: tegra-profiler: fix sleep inside atomic</title>
<updated>2017-07-13T14:18:42+00:00</updated>
<author>
<name>Igor Nabirushkin</name>
<email>inabirushkin@nvidia.com</email>
</author>
<published>2016-09-01T06:49:43+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=f4eca741cb913901b030b5be2d935fb9d85f5c6f'/>
<id>f4eca741cb913901b030b5be2d935fb9d85f5c6f</id>
<content type='text'>
Unwinding: fix possible sleep in atomic context.

Bug 200214930
Bug 200224828

Change-Id: Iaca298a689d14a5eb46fea01c24d72c56fd44a79
Signed-off-by: Igor Nabirushkin &lt;inabirushkin@nvidia.com&gt;
Reviewed-on: http://git-master/r/1212685
(cherry picked from commit 93711b31e1cf478d10898ff6eea5679c5b103640)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Unwinding: fix possible sleep in atomic context.

Bug 200214930
Bug 200224828

Change-Id: Iaca298a689d14a5eb46fea01c24d72c56fd44a79
Signed-off-by: Igor Nabirushkin &lt;inabirushkin@nvidia.com&gt;
Reviewed-on: http://git-master/r/1212685
(cherry picked from commit 93711b31e1cf478d10898ff6eea5679c5b103640)
</pre>
</div>
</content>
</entry>
</feed>
