Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
perf-profiler
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
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Antoine Kaufmann
perf-profiler
Compare revisions
166a16be0e12bf9df008eae9e96d2ed9647688b2 to master
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
antoinek/perf-profiler
Select target project
No results found
master
Select Git revision
Branches
master
Swap
Target
mstolet/perf-profiler
Select target project
antoinek/perf-profiler
mstolet/perf-profiler
2 results
166a16be0e12bf9df008eae9e96d2ed9647688b2
Select Git revision
Branches
master
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (2)
skip anonymous memory regions
· abea6cc3
Antoine Kaufmann
authored
6 years ago
abea6cc3
rename main binary pfmtest -> pfmprof
· b97ea6b0
Antoine Kaufmann
authored
6 years ago
b97ea6b0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Makefile
+4
-4
4 additions, 4 deletions
Makefile
pfmprof.c
+0
-0
0 additions, 0 deletions
pfmprof.c
symbols.c
+3
-1
3 additions, 1 deletion
symbols.c
with
7 additions
and
5 deletions
Makefile
View file @
b97ea6b0
CFLAGS
=
-O3
-Wall
-g
LDFLAGS
=
-g
all
:
pfm
test
all
:
pfm
prof
pfm
test
:
pfm
test
.o config.o events.o symbols.o
pfm
test
:
LDLIBS+=-lpfm -lbfd
pfm
prof
:
pfm
prof
.o config.o events.o symbols.o
pfm
prof
:
LDLIBS+=-lpfm -lbfd
clean
:
rm
-f
*
.o pfm
test
rm
-f
*
.o pfm
prof
.PHONY
:
all clean
This diff is collapsed.
Click to expand it.
pfm
test
.c
→
pfm
prof
.c
View file @
b97ea6b0
File moved
This diff is collapsed.
Click to expand it.
symbols.c
View file @
b97ea6b0
...
...
@@ -306,6 +306,8 @@ static int map_load_builtin(struct symbol_map *m, const char *path,
}
return
0
;
}
else
if
(
!
strcmp
(
path
,
""
))
{
return
symmap_add
(
m
,
start_addr
,
"[anon]"
,
strdup
(
"[anon]"
));
}
out:
...
...
@@ -407,7 +409,7 @@ static struct symbol_map *pid_map(pid_t pid)
*
q
=
0
;
/* skip non-files */
if
(
p
[
0
]
==
'['
)
if
(
p
[
0
]
==
'['
||
p
[
0
]
==
0
)
map_load_builtin
(
m
,
p
,
start_addr
,
end_addr
-
start_addr
,
off
);
else
map_load_exec
(
m
,
p
,
start_addr
,
end_addr
-
start_addr
,
off
);
...
...
This diff is collapsed.
Click to expand it.