Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
2d4618dc
Commit
2d4618dc
authored
Jun 23, 2009
by
Kyle McMartin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
parisc: perf: wire up sys_perf_counter_open
Signed-off-by:
Kyle McMartin
<
kyle@mcmartin.ca
>
parent
abf1e11a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
1 deletion
+15
-1
arch/parisc/Kconfig
arch/parisc/Kconfig
+1
-0
arch/parisc/include/asm/perf_counter.h
arch/parisc/include/asm/perf_counter.h
+7
-0
arch/parisc/kernel/syscall_table.S
arch/parisc/kernel/syscall_table.S
+1
-1
tools/perf/perf.h
tools/perf/perf.h
+6
-0
No files found.
arch/parisc/Kconfig
View file @
2d4618dc
...
@@ -16,6 +16,7 @@ config PARISC
...
@@ -16,6 +16,7 @@ config PARISC
select RTC_DRV_GENERIC
select RTC_DRV_GENERIC
select INIT_ALL_POSSIBLE
select INIT_ALL_POSSIBLE
select BUG
select BUG
select HAVE_PERF_COUNTERS
help
help
The PA-RISC microprocessor is designed by Hewlett-Packard and used
The PA-RISC microprocessor is designed by Hewlett-Packard and used
in many of their workstations & servers (HP9000 700 and 800 series,
in many of their workstations & servers (HP9000 700 and 800 series,
...
...
arch/parisc/include/asm/perf_counter.h
0 → 100644
View file @
2d4618dc
#ifndef __ASM_PARISC_PERF_COUNTER_H
#define __ASM_PARISC_PERF_COUNTER_H
/* parisc only supports software counters through this interface. */
static
inline
void
set_perf_counter_pending
(
void
)
{
}
#endif
/* __ASM_PARISC_PERF_COUNTER_H */
arch/parisc/kernel/syscall_table.S
View file @
2d4618dc
...
@@ -416,7 +416,7 @@
...
@@ -416,7 +416,7 @@
ENTRY_COMP
(
preadv
)
/*
315
*/
ENTRY_COMP
(
preadv
)
/*
315
*/
ENTRY_COMP
(
pwritev
)
ENTRY_COMP
(
pwritev
)
ENTRY_COMP
(
rt_tgsigqueueinfo
)
ENTRY_COMP
(
rt_tgsigqueueinfo
)
ENTRY_SAME
(
ni_syscall
)
ENTRY_SAME
(
perf_counter_open
)
/
*
Nothing
yet
*/
/
*
Nothing
yet
*/
...
...
tools/perf/perf.h
View file @
2d4618dc
...
@@ -19,6 +19,12 @@
...
@@ -19,6 +19,12 @@
#define cpu_relax() asm volatile("" ::: "memory");
#define cpu_relax() asm volatile("" ::: "memory");
#endif
#endif
#ifdef __hppa__
#include "../../arch/parisc/include/asm/unistd.h"
#define rmb() asm volatile("" ::: "memory")
#define cpu_relax() asm volatile("" ::: "memory");
#endif
#include <time.h>
#include <time.h>
#include <unistd.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/types.h>
...
...
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