Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libtcg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
Show more breadcrumbs
Anton
libtcg
Commits
6bdc3707
Commit
6bdc3707
authored
5 years ago
by
Mark Cave-Ayland
Browse files
Options
Downloads
Patches
Plain Diff
sunhme: add trace event for logging PCI IRQ
Signed-off-by:
Mark Cave-Ayland
<
mark.cave-ayland@ilande.co.uk
>
parent
fcd23a67
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
hw/net/sunhme.c
+2
-0
2 additions, 0 deletions
hw/net/sunhme.c
hw/net/trace-events
+1
-0
1 addition, 0 deletions
hw/net/trace-events
with
3 additions
and
0 deletions
hw/net/sunhme.c
+
2
−
0
View file @
6bdc3707
...
...
@@ -209,6 +209,8 @@ static void sunhme_update_irq(SunHMEState *s)
}
level
=
(
seb
?
1
:
0
);
trace_sunhme_update_irq
(
mifmask
,
mif
,
sebmask
,
seb
,
level
);
pci_set_irq
(
d
,
level
);
}
...
...
This diff is collapsed.
Click to expand it.
hw/net/trace-events
+
1
−
0
View file @
6bdc3707
...
...
@@ -359,6 +359,7 @@ sunhme_rx_filter_reject(void) "rejecting incoming frame"
sunhme_rx_filter_accept(void) "accepting incoming frame"
sunhme_rx_desc(uint32_t addr, int offset, uint32_t status, int len, int cr, int nr) "addr 0x%"PRIx32"(+0x%x) status 0x%"PRIx32 " len %d (ring %d/%d)"
sunhme_rx_xsum_calc(uint16_t xsum) "calculated incoming xsum as 0x%x"
sunhme_update_irq(uint32_t mifmask, uint32_t mif, uint32_t sebmask, uint32_t seb, int level) "mifmask: 0x%x mif: 0x%x sebmask: 0x%x seb: 0x%x level: %d"
# virtio-net.c
virtio_net_announce_notify(void) ""
...
...
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
register
or
sign in
to comment