summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@redhat.com>2009-09-09 12:53:25 -0400
committerMasami Hiramatsu <mhiramat@redhat.com>2009-09-09 12:53:25 -0400
commitddc0ddd0bc88d370addadcd3a9381e410e7b73cc (patch)
tree8c046fb2af3e233e58fae23986346bd8250220bd /tapsets.cxx
parent6db2f61f39669ad1f0fa23595b94ff22c8fc50d6 (diff)
downloadsystemtap-steved-ddc0ddd0bc88d370addadcd3a9381e410e7b73cc.tar.gz
systemtap-steved-ddc0ddd0bc88d370addadcd3a9381e410e7b73cc.tar.xz
systemtap-steved-ddc0ddd0bc88d370addadcd3a9381e410e7b73cc.zip
Fix relay_old implementation of fsize_max and fnum_max.
With old relayfs, out_fd is used only when non-bulk mode. However, open_oldoutfile and open_relayfs_files open files with fopen and set only percpu_tmpfile. This will cause a problem with -S option, that out_fd will be closed when the file size reaches fsize_max and new fd will be opened only on percpu_tmpfile. So, out_fd should be synchronized with percpu_tmpfile. * runtime/staprun/relay_old.c (open_oldoutfile): Set fd of output file to out_fd[cpu]. (open_relayfs_files): Ditto.
Diffstat (limited to 'tapsets.cxx')
0 files changed, 0 insertions, 0 deletions