~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to arch/x86/kernel/syscall_64.c

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* System call table for x86-64. */
2
2
 
3
3
#include <linux/linkage.h>
4
 
#include <linux/module.h>
5
4
#include <linux/sys.h>
6
5
#include <linux/cache.h>
7
 
#include <linux/marker.h>
8
 
#include <linux/kallsyms.h>
9
6
#include <asm/asm-offsets.h>
10
7
 
11
8
#define __NO_STUBS
30
27
        [0 ... __NR_syscall_max] = &sys_ni_syscall,
31
28
#include <asm/unistd_64.h>
32
29
};
33
 
 
34
 
void ltt_dump_sys_call_table(void *call_data)
35
 
{
36
 
        int i;
37
 
        char namebuf[KSYM_NAME_LEN];
38
 
 
39
 
        for (i = 0; i < __NR_syscall_max + 1; i++) {
40
 
                sprint_symbol(namebuf, (unsigned long)sys_call_table[i]);
41
 
                __trace_mark(0, syscall_state, sys_call_table,
42
 
                        call_data,
43
 
                        "id %d address %p symbol %s",
44
 
                        i, (void*)sys_call_table[i], namebuf);
45
 
        }
46
 
}
47
 
EXPORT_SYMBOL_GPL(ltt_dump_sys_call_table);