Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
common
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test
device
qcom
common
Commits
3deb7196
Commit
3deb7196
authored
Jul 13, 2020
by
qctecmdr
Committed by
Gerrit - the friendly Code Review server
Jul 13, 2020
Browse files
Options
Downloads
Plain Diff
Merge "Init : enable preemption and irq off traces"
parents
8b2b6f39
5db72ff4
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
rootdir/etc/init.qti.debug-bengal.sh
+6
-0
6 additions, 0 deletions
rootdir/etc/init.qti.debug-bengal.sh
with
6 additions
and
0 deletions
rootdir/etc/init.qti.debug-bengal.sh
+
6
−
0
View file @
3deb7196
...
@@ -81,6 +81,12 @@ enable_bengal_tracing_events()
...
@@ -81,6 +81,12 @@ enable_bengal_tracing_events()
echo
1
>
/sys/kernel/debug/tracing/events/psi/psi_event/enable
echo
1
>
/sys/kernel/debug/tracing/events/psi/psi_event/enable
echo
1
>
/sys/kernel/debug/tracing/events/psi/psi_window_vmstat/enable
echo
1
>
/sys/kernel/debug/tracing/events/psi/psi_window_vmstat/enable
#enable preemption and irq off traces 500 ms for preemption and 100 ms for irq off
echo
500000000
>
/proc/sys/kernel/preemptoff_tracing_threshold_ns
echo
1
>
/sys/kernel/debug/tracing/events/sched/sched_preempt_disable/enable
echo
100000000
>
/proc/sys/kernel/irqsoff_tracing_threshold_ns
echo
1
>
/sys/kernel/debug/tracing/events/preemptirq/irqs_disable/enable
#iommu events
#iommu events
echo
1
>
/sys/kernel/debug/tracing/events/iommu/map/enable
echo
1
>
/sys/kernel/debug/tracing/events/iommu/map/enable
echo
1
>
/sys/kernel/debug/tracing/events/iommu/map_sg/enable
echo
1
>
/sys/kernel/debug/tracing/events/iommu/map_sg/enable
...
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment