aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDenis V. Lunev <[email protected]>2008-04-29 01:02:16 -0700
committerLinus Torvalds <[email protected]>2008-04-29 08:06:21 -0700
commit659f865ea65a60564ce00a0c571099d1fa55e8e3 (patch)
treea585a6e0f715cf37a6c80ec3a08db3104194cd7c /tools/perf/scripts/python
parent7bf4e6d3e948e38893c718fa9c5bd0dfbfa49670 (diff)
zorro: use non-racy method for proc entries creation
Use proc_create()/proc_create_data() to make sure that ->proc_fops and ->data be setup before gluing PDE to main tree. Add correct ->owner to proc_fops to fix reading/module unloading race. Signed-off-by: Denis V. Lunev <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Cc: Alexey Dobriyan <[email protected]> Cc: "Eric W. Biederman" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions