Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-web-393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-web-393
Commits
3a8afd3f
Commit
3a8afd3f
authored
Aug 19, 2016
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tooltips
parent
aabe003b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
debugfs.js
src/debugfs-webgui/debugfs.js
+3
-3
debugfs.php
src/debugfs-webgui/debugfs.php
+1
-1
No files found.
src/debugfs-webgui/debugfs.js
View file @
3a8afd3f
...
...
@@ -125,9 +125,9 @@ function init(){
l
=
"<tr class='"
+
oddeven
+
"'>"
;
l
+=
" <td style='text-align:center' title='"
+
ttl
+
"'>"
+
r1
[
j
].
lineno
+
"</td>"
;
l
+=
" <td style='text-align:center'><input type='checkbox' class='tp debug' "
+
checked
+
" file='"
+
r1
[
j
].
file
+
"' line='"
+
r1
[
j
].
lineno
+
"' /></td>"
;
l
+=
" <td
>"
+
r1
[
j
].
function
.
substr
(
0
,
20
)
+
"...
</td>"
;
l
+=
" <td
>"
+
r1
[
j
].
format
.
substr
(
0
,
20
)
+
"...
</td>"
;
l
+=
" <td style='text-align:center'><input t
itle='p-flag' t
ype='checkbox' class='tp debug' "
+
checked
+
" file='"
+
r1
[
j
].
file
+
"' line='"
+
r1
[
j
].
lineno
+
"' /></td>"
;
l
+=
" <td
title=
\"
function: "
+
r1
[
j
].
function
+
"
\"
>"
+
r1
[
j
].
function
.
substr
(
0
,
20
)
+
cut_function
+
"
</td>"
;
l
+=
" <td
title=
\"
format: "
+
r1
[
j
].
format
+
"
\"
>"
+
r1
[
j
].
format
.
substr
(
0
,
20
)
+
cut_format
+
"
</td>"
;
l
+=
"</tr>"
;
ctbl
.
append
(
l
);
}
...
...
src/debugfs-webgui/debugfs.php
View file @
3a8afd3f
...
...
@@ -110,7 +110,7 @@ function apply_config_to_control(){
if
(
$flag
==
"p"
)
$sign
=
"+"
;
else
$sign
=
"-"
;
exec
(
"echo -n 'file
$file
line
$lineno
${sign}p' > /sys/kernel/debug/dynamic_debug/control"
);
echo
"echo -n 'file
$file
line
$lineno
${sign}p'
\n
"
;
//
echo "echo -n 'file $file line $lineno ${sign}p'\n";
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment