~percona-toolkit-dev/percona-toolkit/bash-tool-testing

« back to all changes in this revision

Viewing changes to t/pt-pmp/aggregate-stacktrace-04

  • Committer: Daniel Nichter
  • Date: 2011-08-18 15:26:12 UTC
  • Revision ID: daniel@percona.com-20110818152612-e774w70ujc3lfo5l
Combine and change all pt-pmp tests to new format.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/bash
2
 
#aggregate_stacktrace 0 /tmp/percona-toolkit
3
 
 
4
 
cat > $1 <<EOF
5
 
     33 pthread_cond_wait,boost::condition_variable::wait,Queue::pop,Worker::work,boost::_mfi::mf0::operator,boost::_bi::list1::operator,boost::_bi::bind_t::operator,boost::detail::thread_data::run,thread_proxy,start_thread,clone,??
6
 
      1 StringBuilder::length,Parser::add,Parser::try_parse_query,Parser::parse_block,Parser::work,boost::_mfi::mf0::operator,boost::_bi::list1::operator,boost::_bi::bind_t::operator,boost::detail::thread_data::run,thread_proxy,start_thread,clone,??
7
 
      1 pthread_cond_wait,boost::thread::join,LogReader::wait,Replay::wait,main
8
 
      1 pthread_cond_wait,boost::condition_variable::wait,Queue::push,LogReader::work,boost::_mfi::mf0::operator,boost::_bi::list1::operator,boost::_bi::bind_t::operator,boost::detail::thread_data::run,thread_proxy,start_thread,clone,??
9
 
      1 pthread_cond_wait,boost::condition_variable::wait,Queue::pop,Reporter::work,boost::_mfi::mf0::operator,boost::_bi::list1::operator,boost::_bi::bind_t::operator,boost::detail::thread_data::run,thread_proxy,start_thread,clone,??
10
 
EOF
11
 
 
12
 
cp samples/stacktrace-004.txt $2