Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
White Rabbit Switch - Software
Manage
Activity
Members
Labels
Plan
Issues
85
Issue boards
Milestones
Wiki
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
White Rabbit Switch - Software
Commits
aed1a0fa
Commit
aed1a0fa
authored
6 years ago
by
Adam Wujek
Browse files
Options
Downloads
Patches
Plain Diff
userspace/tools: add dump_type_scaledPicoseconds to wrs_dump_shmem
Signed-off-by:
Adam Wujek
<
adam.wujek@cern.ch
>
parent
7fcc04aa
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
userspace/tools/wrs_dump_shmem.c
+3
-0
3 additions, 0 deletions
userspace/tools/wrs_dump_shmem.c
userspace/tools/wrs_dump_shmem.h
+2
-0
2 additions, 0 deletions
userspace/tools/wrs_dump_shmem.h
with
5 additions
and
0 deletions
userspace/tools/wrs_dump_shmem.c
+
3
−
0
View file @
aed1a0fa
...
...
@@ -287,6 +287,9 @@ void dump_one_field(void *addr, struct dump_info *info)
printf
(
"
\n
"
);
break
;
}
case
dump_type_scaledPicoseconds
:
printf
(
"%lld
\n
"
,
(
*
(
unsigned
long
long
*
)
p
)
>>
16
);
break
;
}
}
void
dump_many_fields
(
void
*
addr
,
struct
dump_info
*
info
,
int
ninfo
)
...
...
This diff is collapsed.
Click to expand it.
userspace/tools/wrs_dump_shmem.h
+
2
−
0
View file @
aed1a0fa
...
...
@@ -70,6 +70,8 @@ enum dump_type {
/* rtu_filtering_entry enumerations */
dump_type_rtu_filtering_entry_dynamic
,
dump_type_array_int
,
/* scaledPicoseconds */
dump_type_scaledPicoseconds
,
};
/*
* A structure to dump fields. This is meant to simplify things, see use here
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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
register
or
sign in
to comment